Click to See Complete Forum and Search --> : iptables...


Linux~Powered
03-09-2004, 05:06 PM
I want to set up iptable rules but am kind of lost. First i would want to stop all input activity right?

iptables -P INPUT DROP

then add what ever ports i would want to accept connections from the internet like...

iptables -A INPUT -p tcp --dport 80 -j ACCEPT

that should close all ports but 80 http right?

because when i do that i can't access the web, everything is still locked down