[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Could you give an example iptables script? (Help... I want to learn this stuff)



Quoting Joris Huizer <jorishuizer@planet.nl>:
> BTW, if something weird happens, how can I shut it down again? (you 
> never know...)

iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F

ought to do it.  This won't clear out user-defined changes, but without any
rules to jump into them, it won't matter (if your primary objective is just to
get up and running).

mickey



Reply to: