Frees/wan setup problems

Kenneth E. Lussier ken.lussier at zuken.com
Fri Feb 28 11:08:47 EST 2003


On Fri, 2003-02-28 at 10:34, Cole Tuininga wrote:
 
> > OK, this is sort of nit-picky, but just for the heck of it, let's
> change
> > this rule on both gateways to be more specific. On the 192.168.1.0/24
> > side, let's change this to -d !192.168.2.0/24 and on the 192.168.2.0
> > side, change it to -d !192.168.1.0/24. That may also help the routing.
> 
> Ok - no problem.  I tried it, to no avail.  Out of curiosity, how would
> I write the rule if I wanted to VPN in another network, say .3?

The same way as the other rules:

iptables -A FORWARD -s 192.168.1.0/255.255.255.0 -d !
192.168.3.0/255.255.255.0 -j MASQ

C-Ya,
Kenny

-- 
----------------------------------------------------------------------------
"Tact is just *not* saying true stuff" -- Cordelia Chase

Kenneth E. Lussier
Sr. Systems Administrator
Zuken, USA
PGP KeyID CB254DD0 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xCB254DD0





More information about the gnhlug-discuss mailing list