List,
        I'm wondering if the rules from iptables get applied in the order shown 
in the output from iptables-save?  My output is below, and my rules seem 
to be working...I just want to confirm
My rules should block ICMP on eth1, TCP on eth1 (except port 22)
And should masquerade all traffic going out eth1

/B



# Generated by iptables-save v1.2.3 on Tue Jun 18 13:27:40 2002
*mangle
:PREROUTING ACCEPT [10862:536180]
:OUTPUT ACCEPT [10798:452106]
COMMIT
# Completed on Tue Jun 18 13:27:40 2002
# Generated by iptables-save v1.2.3 on Tue Jun 18 13:27:40 2002
*nat
:PREROUTING ACCEPT [101541:6649471]
:POSTROUTING ACCEPT [2874:225179]
:OUTPUT ACCEPT [7267:541790]
[36779:2257184] -A POSTROUTING -o eth1 -j MASQUERADE
COMMIT
# Completed on Tue Jun 18 13:27:40 2002
# Generated by iptables-save v1.2.3 on Tue Jun 18 13:27:40 2002
*filter
:INPUT ACCEPT [201897:82904564]
:FORWARD ACCEPT [91720:18848741]
:OUTPUT ACCEPT [141595:41184994]
[122:10460] -A INPUT -i eth1 -p icmp -j DROP
[6:248] -A INPUT -i eth1 -p tcp -m tcp --dport 22 -j ACCEPT
[9322:447456] -A INPUT -i eth1 -p tcp -j DROP
COMMIT
# Completed on Tue Jun 18 13:27:40 2002



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to