--dport takes an argument.
What I do is allow all traffic from any internal IP address so I don't
have to add a rule for each internal service my system provides.
Code:
--------------------
# Allow any connection from this host.
iptables -A INPUT -i lo -j ACCEPT
# Allow any connection from the local network.
iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT
# Allow all broadcast traffic.
iptables -A INPUT -m pkttype --pkt-type broadcast -j ACCEPT
--------------------
--
dem
Dave
------------------------------------------------------------------------
dem's Profile: http://forums.slimdevices.com/member.php?userid=2504
View this thread: http://forums.slimdevices.com/showthread.php?t=43773
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix