iptables

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

 



Hi list,

I need some help with iptables. I'm trying to block every access to one
RHEL4 box (x.y.z.218), except from 9 IPs (x.y.z.211-219).
Every port from the allowed range should reach x.y.z.218

I've setup the following rules:
iptables -F
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -s x.y.z.211 -j ACCEPT
...
iptables -A INPUT -s x.y.z.219 -j ACCEPT

With those rules, just everything is dropped, even connections coming from
the authorized range.

What am I doing wrong here ??


-- 
Web and Co
Patrick Derwael
Rue Hubert Larock, 20
4280 Hannut
email: pderwael@xxxxxxxxxxx
http://www.webandco.be

-- 
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