bad argument 'iptables'
I have just installed RH9 with medium firewall protection
I want to work with iptables a bit, and open the telnet port and port 5555.
/etc/init.d/iptables stop
I copied the original iptables to iptables.good
then rempved all lines from the original file and added
#Polices
iptables -P INPUT drop
iptables -P OUTPUT drop
iptables -P FORWARD drop
# in and out
iptables -A OUTPUT -p ALL -s 192.168.1.103
iptables -A INPUT -p ALL -i eth0 -s 192.168.1.03 -j ACCEPT
COMMIT
/etc/init.d/iptables start
et the error bad argument iptables
Basicly took the above from examples I found
Thanks
|