Re: IPCHAINS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

----- Original Message -----
From: "Duncan" <drack@xxxxxxxxxx>
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux