debian firewall

iptables gui
fwbuilder

see ip tables
iptables -L

use: write a script some-settings.sh & run
sh +x some-settings.sh