How can I block all traffic except web traffic?
Posted
by toddoon
on Server Fault
See other posts from Server Fault
or by toddoon
Published on 2009-03-18T15:23:02Z
Indexed on
2010/03/14
0:55 UTC
Read the original article
Hit count: 287
iptables
|web-traffic
I have wrote my rules like this:
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A OUTPUT -i eth0 -p tcp --dport 80 -j ACCEPT
What do I do next?
© Server Fault or respective owner