[NTLUG:Discuss] iptables Firewall for one?

Dan Carlson dmcarlsn at yahoo.com
Wed Feb 20 15:04:16 CST 2002


For ipchains I use the following rules to masq my local network, but
disable access to the outside for one of the systems:

-A forward -s 192.168.1.6/32 -d 0/0 -j REJECT
-A forward -s 192.168.1.0/24 -d 0/0 -j MASQ

The syntax will likely be similar but different for iptables.

Dan Carlson

----- Original Message -----
From: "Bob Byron" <bbyron at radit.com>
To: <discuss at ntlug.org>
Sent: Wednesday, February 20, 2002 2:44 PM
Subject: [NTLUG:Discuss] iptables Firewall for one?


> I simply need to prohibit one of my non routeable ip addresses to be
prevented
> from accessing the internet.  That is, ip address 192.168.1.* can access
the
> internet, but I want to prevent 192.168.1.75 from being able to access
the
> internet.  I have the monmotha iptables package running to create the
bridge
> between the lan and the internet.  But, I just need the simple iptables
command
> to insure this person goes no further than inside the local network.
>
> Thanks,
> Bob Byron
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>





More information about the Discuss mailing list