Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

xcaro/iptables-firewall-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Iptables Firewall shell script for Standalone Server

How do i install this scripts?

After download script following command as root server:

~$ cd /root
~$ git clone https://github.com/xcaro/iptables-firewall-shell-script.git scripts
~$ cd scripts
~$ chmod +x *.fw

Then, you can edit firewall rules as per your requirements:

~$ vi /root/scripts/start.fw

Install firewall:

~$ echo '/root/scripts/start.fw' >> /etc/rc.local

How do i use this scripts?

Start firewall from a shell prompt:

~$ /root/scripts/start.fw

Stop firewall from a shell prompt:

~$ /root/scripts/stop.fw

About

A shell script on iptables rules for a webserver (no need to use APF or CSF)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages