IP Masq on Slackware 4.0

Patrick McManus mcmanus at AppliedTheory.com
Thu Jul 1 12:39:45 EDT 1999


In a previous episode Phil said...
[..]
:: assigned the IP 192.168.1.100. All of the windows clients have
:: 192.168.1.100 in as their gateway for their TCP/IP settings, and the DNS
[..]
:: One the ppp connection is up I use:
:: 
:: ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0

you've got an incorrect mask.. your 192.168.1.xxx packets don't match
it.

that should either be 192.168.0.0/16 if you want to use the whole
192.168.* space, or 192.168.168.1.0/24 if you just want to chain the
.1/24 subnet.. 

-P
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list