l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
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?

Patrick

> I did just this sort of thing once for a two-location LAN party (WAN
party?).
>
> Briefly, what you do is, using FreeS/WAN, create an encrypted tunnel
between
> your masq box and your friend's masq box. Say your masq box is 10.1.1.254
with
> a 24-bit subnet on the internal side, and your friend's is 10.1.2.254 also
with
> /24.
>
> Then, in your config file, you'll have something like
> left=my.routable.IP.address
> leftsubnet=10.1.1.0/24
> right=friends.routable.IP.address
> rightsubnet=10.1.2.0/24
>
> Note that the two private networks use different sets of IPs.
>
> Because the masq boxes handle all the routing for the private networks, if
a
> 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
should
> 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
WINS
> server. Make sure all the win boxes are set to the same workgroup, and
reboot
> (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
hard-disk-based
> distro since I don't think you can fit the kernel, basic tools, the
FreeS/WAN
> 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.
>
>
>


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.