/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


 >What has worked for quite some time is;
 >
 >/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
 >
 >I have tried variations of the following as taken from
 >http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO-6.html#Strong-IPCHAINS-Ruleset
 >s
 >
 >/sbin/ipchains -A forward -i eth0 -s 192.168.7.0/24 -d 0.0.0.0/24 -j
 >MASQ

Take the /24 off the 0.0.0.0 address.  Also, make sure you
are using the right address.  You say 192.168.7.x here but
later you mention you are using 192.169.1.x.


 >and there is one thing that bugs me. Do I need two gateways defined
 >?
 >My external nic's gateway is 63.193.247.254
 >My internal networks gateway is 192.168.1.2 (eth1)

Define 63.193.247.254 as the DGW for the Linux box
Define 192.168.1.2 as the DGW for all your internal
MASQed PCs (do you really want 1.2?  It should be 1.1)

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to