Default behavior w/iptables disabled

Vivek J. Patankar vivek.patankar at gmail.com
Tue Nov 13 14:42:32 UTC 2007


Joe Tseng wrote:
> results.  Does an F7 box with no rules allow all traffic through by default?

No Rules = No firewall.

I have a default DROP rule will stops all inbound connections unless I 
allow them explicitly.

iptables -P INPUT DROP

This will drop any inbound connections unless otherwise specified. For 
restricting outbound traffic I guess the rule would be as below.

iptables -P OUTPUT DROP

Works for me. YMMV.

-- 
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)

Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.4-65.fc7 x86_64




More information about the users mailing list