Skip to content

katsudouki/iptables-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Simple script to configure iptables firewall

Install

git clone https://github.com/katsudouki/iptables-shell.git
cd iptables-shell
chmod +x iptables-shell.sh
sudo mv iptables-shell.sh /usr/bin/iptables-shell.sh

Usage

to start the firewall run the command as root with sudo

sudo iptables-shell.sh start

to stop run

sudo iptables-shell.sh stop

and to to start the firewall run the command as root with sudo

sudo iptables-shell.sh unlock $PORT

Don't forget to replace $PORT with the port number

About

simple script to configure iptables firewall

Topics

Resources

Stars

Watchers

Forks

Languages