IPCHAINS
Duncan
drack at mweb.co.zw
Fri Jul 16 07:10:17 UTC 2004
would the following ipchains stop tcp connections from anyone else other than iprange , the ips in LAN 195.167.2.0/24
/sbin/ipchains -F
/sbin/ipchains -P input -p tcp DENY
/sbin/ipchains -A input -p tcp -s iprange/24 -d 195.167.2.0/24 -j ACCEPT
/sbin/ipchains -A input -p udp -s iprange/24 -d 195.167.2.0/24 -j ACCEPT
/sbin/ipchains -A input -p icmp -s iprange/24 -d 195.167.2.0/24 -j ACCEPT
Please advice
-------------------------------------------------------------------------------------------------------
Duncan Rack
More information about the redhat-list
mailing list