converting IP tables to a chart
Hello,
I am trying to convert my IP tables into a chart-like format to better understand what is going on. Only problem is im not sure if the table I have created is set up correctly. Could someone take a look at this and either varify it for me or tell me where I have made a possible mistake.
Thanks again,
Thomas
MY IP TABLES: (permit all outgoing connections (including response packets), incoming ICMP, incoming ssh, and incoming finger connections. Reject all other packets.)
# iptables -F
# iptables -A INPUT -i 1o -j ACCEPT
# iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
# iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 79 -j ACCEPT
# iptables -A INPUT -p icmp -j ACCEPT
# iptables -A INPUT -j REJECT
MY CHART:
direction source protocols source port destination port Action
OUTGOING INTERNAL Any Any Any ACCEPT
OUTGOING INTERNAL TCP >1023 22 ACCEPT
INCOMING EXTERNAL TCP 22 >1023 ACCEPT
OUTGOING INTERNAL TCP >1023 79 ACCEPT
INCOMING EXTERNAL TCP 79 >1023 ACCEPT
INCOMING EXTERNAL ICMP Any Any ACCEPT
EITHER ANY Any Any Any Deny
Last edited by sportsman667; 11-06-2007 at 06:58 PM.
|