[SATLUG] IPTABLES help

Ed Coates edcoates at gmail.com
Sun Mar 18 11:35:25 CDT 2007


Hi All,

I have the following setup:

Internet -> Linux Firewall (192.168.2.2) -> Linux Server
(DNS,web,mail,etc - 192.168.2.9)
                                    |
                                    -> WinXP Box (wife - 192.168.2.11)
                                    |
                                    -> WinXP Box (kids - 192.168.2.3)

The linux firewall has the folling NICs

OUTERIF - eth0 (Connection to the Internet)
INTERNALIF - eth1 (Connection to the LAN)

Now, using IPTABLES, I should be able to block all internet traffic
from the kids' machine by using the following entry right?:

iptables -A OUTPUT --source 192.168.2.3 -j DROP

This doesn't seem to work for me.  Am I doing something wrong?

Ed


More information about the SATLUG mailing list