IPCHAINS

Duncan drack at mweb.co.zw
Fri Jul 16 10:42:53 UTC 2004


YOU MAY TRASH THE QUESTION , I HAVE SORTED IT OUT
THANKS

----- Original Message -----
From: "Duncan" <drack at mweb.co.zw>
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Friday, July 16, 2004 9:10 AM
Subject: IPCHAINS


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
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list