view · edit · history · print

build-in Firewall basic commands

AIX

  
Filtering commands:
chfilt   
expfilt  
genfilt  
impfilt  
lsfilt   
mkfilt   
mvfilt   
rmfilt

Tunneling commands:
imptun 
chtun
gentun

Linux

  
backup and restore:
iptables-save -c > /etc/iptables-save 
cat /etc/iptables-save | iptables-restore -c 

playing with chains:
iptables -N newchain # new
iptables -L newchain # list
iptables -X newchain # delete
iptables -F newchain # flush
for a decent numbered list:
iptables -L --line-numbers

activation and implementation:
via /etc/rc.d/rc.firewall script.

admin · attr · attach · edit · history · print
Page last modified on March 30, 2006, at 01:55 PM