IPTables 1.2.5 Problem
I seem to be having a problem with the command line or program. I'm using iptables v1.2.5. I'm trying to use stateful packet insepection on outgoing packets. For example, if I tried to create a rule for port 80 outbound, here is an *example* what I've been entering:
iptables -m state -A OUTPUT -j ACCEPT -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 --dport 80 --state ESTABLISHED
My problem is, it doesn't seem to be opening the same ports for return traffic. I've tried not only ESTABLISHED, but NEW and RELATED, both seperate and in combinations, with the same result.
I have all the appropriate kernel modules configured and they are loading (e.g., ip_tables, ip_conntrack, ipt_state, etc.) It doesn't work for any port than I can find... DNS, HTTP, FTP .. nothing.
Can anyone give me an idea as to why this doesn't work?
Last edited by ryanstrayer; 02-08-2002 at 08:41 PM.
|