Tanatz
09-17-2002, 08:04 PM
Ok, I'm trying to set up a Firewall, as explained in RedHat 7.3 for Dummies! ( shut up ).
so far, I've done successfully:
iptables --flush
iptables --flush -t nat
iptables -A OUTPUT -j ACCEPT -o lo
iptables -A INPUT -j ACCEPT -i lo
when I get to the next step:
iptables --policy INPUT -i eth0 DROP
and
iptables --policy OUTPUT -i eth0 DROP
I get an error message saying:
iptables v1.2.5: -P requires a chain and a policy.
I searched through iptables -h and it wasn't too clear. Anyone familiar with this problem?
so far, I've done successfully:
iptables --flush
iptables --flush -t nat
iptables -A OUTPUT -j ACCEPT -o lo
iptables -A INPUT -j ACCEPT -i lo
when I get to the next step:
iptables --policy INPUT -i eth0 DROP
and
iptables --policy OUTPUT -i eth0 DROP
I get an error message saying:
iptables v1.2.5: -P requires a chain and a policy.
I searched through iptables -h and it wasn't too clear. Anyone familiar with this problem?