complement of an IP address range rejected by iptables in F14

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


I have several LAN's with fedora routers that I support.  The last line 
in this section of my firewall script causes an error in F14.

POSTROUTING chain rules
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
/sbin/iptables -A FORWARD -s -j ACCEPT
/sbin/iptables -A FORWARD -d -j ACCEPT
/sbin/iptables -A FORWARD -s ! -j DROP

Using intrapositioned negation (`--option ! this`) is deprecated in 
favor of extrapositioned (`! --option this`).

Am I interpreting this change correctly to think that the following line,

/sbin/iptables -A FORWARD ! -s -j DROP

will drop all packet not sourced from the LAN with addresses 192.168.1.* 
where * is any number from 1 to 255?

users mailing list
[email protected]
To unsubscribe or change subscription options:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux