l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] LAN/WAN Stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] LAN/WAN Stuff

Sorry it took me so long to respond, but I took off for the  weekend...Just
one quick question:  Will there be any security/compatibiliy issues with
routing a WAN and regular internet traffic for my LAN through the same box?


> I did just this sort of thing once for a two-location LAN party (WAN
> Briefly, what you do is, using FreeS/WAN, create an encrypted tunnel
> your masq box and your friend's masq box. Say your masq box is
> a 24-bit subnet on the internal side, and your friend's is also
> /24.
> Then, in your config file, you'll have something like
> left=my.routable.IP.address
> leftsubnet=
> right=friends.routable.IP.address
> rightsubnet=
> Note that the two private networks use different sets of IPs.
> Because the masq boxes handle all the routing for the private networks, if
> machine sends a packet to someone on your friend's network, it'll get sent
> through the secure tunnel automatically. You can verify this with tcpdump
> ipsec0; it should show unencrypted packets going through. tcpdump eth0
> show encrypted stuff.
> Then, pick one of the masq boxes to be a WINS server. Set up Samba
> appropriately, and tell all the win boxes to use its private IP as the
> server. Make sure all the win boxes are set to the same workgroup, and
> (and reboot, and reboot...). This should work, but browsing the Network
> Neighborhood might be slow for the network without the WINS server
directly on
> it.
> You'll probably need to convert one of the LRP boxes over to a
> distro since I don't think you can fit the kernel, basic tools, the
> tools, and Samba on a floppy. Make sure to lock it down really well since
> cracking this box will compromise not only your network, but your friend's
> network too.

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.