LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-21-2001, 11:42 AM   #1
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
VPN questions


I need some help, I've gotten the best responce here, so here goes.

I have 7 separate locations that I would like to network as one virtual entity. Each of these as they stand right now are on their own systems totally disconnected from one another. I'd like to use some sort of VPN so as to keep the cost from being enourmous. Three of the sites have current internet connections either via DSL or T1. The rest are stuck on Dialup or don't have anything whatsoever.

Each office will be on it's own subnet of the 192.168.0.X IP space and I'd like to make this so transparent to the end user that when they open Network neighborhood, they can see every other (currently) connected machine.

I would like to document everything that I find/do on a personal website so as to aide any other future questions of this nature.

What I'm wondering is:

#1 Is this a reasonable thing to even attempt? I'd like to centralize not only the userbase(have a PDC/BDC for the entire virtual network that controls login), but also the e-mail system. This will also involve having some centralize shares for data exchange.

#2 Can Linux do what I'm asking it to do? I envision each site having a simple Linux machine forwarding packets via IPSec(VPN) to the central location running the fastest internet connection(currently the central office on a T1).

#3 Would the network load of having 3-4 machines checking only e-mail be too much for 56k connections(bearing in mind the occasional file transfer or two) or do I need a DSL solution.

The MAIN issues are security and flexibility(I need to be able to add remote locations as they are built/purchased). This is a healthcare organization that requires a high level of encryption due to sensitive patient data.
 
Old 12-24-2001, 03:31 AM   #2
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
I want the same thing (only 3 locations )

You'll should try the program freeswan i believe

I am short of time so i am currently not working at this but it is possible i gues

Only vpn over a 56 k line i do not know because of the different ip adres you get every time you log on to the internet .

You could try to use a dialup to your server directly for mail .

And you'll know what they say :

everything is possible with linux
 
Old 12-24-2001, 05:20 PM   #3
bjames
LQ Newbie
 
Registered: Dec 2001
Posts: 1

Rep: Reputation: 0
All of what you ask can be done....

If have actually set this up before.

What I did is setup a M$2K server running Routing and Remote Access to handle all incoming VPN traffic. I am running NAT on router where the W2K server so I had to make some router changes to allow the VPN traffic to pass.

I then had it connect to the clients internal domain during startup. (You can just leave it as a standonlone also)

I then setup 15 outlying offices to connect to this server for email, file transfer, etc...

You can be at any site and see all of the machines that are connected simply by opening network neighborhood.

I am running Redhat7.1 on the inside of all outlying offices which connect via DLS, T1 or dialup depending on the office size acting as a VPN router and firewall

I set all internal IP's on the outlying offices one range higher and had the W2K box route them over the internal network

IE...
Main office 192.168.0.X
Office1 192.168.1.X
Office3 192.168.2.X
and so forth

All sites still have normal Internet connectivity based on routing decisions in either the routers or Linux.

I would plan on no more than 2 users on a dialup session over VPN,

Yes..this is a routing mess but done correctly is completely transparent and since only 1 W2k box is involved it is fairly stable.

Just do not let the W2K VPN server do much else
 
Old 12-24-2001, 06:06 PM   #4
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Original Poster
Rep: Reputation: 30
On all of your separate Nets that are going to VPN in you have 192.168.0.X for instance...is that the IP that the win2k machine sees? or did you setup separate routing on the VPN?(ignore me if this is a stupid question, I just haven't toy'd with win2k vpn).

J
 
Old 07-30-2002, 05:25 AM   #5
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep: Reputation: 15
I am working on the vpn as my present project now.
You may want to look at the following website

http://www.buildinglinuxvpns.com
http://www.freeswan.org
http://jixen.tripod.com

You may want to do a search in yahoo using vpn keywords.

Let me know how is your implementation.

x2000koh@yahoo.com.sg
singapore
 
Old 07-30-2002, 07:16 PM   #6
krunkwick
Member
 
Registered: Jun 2002
Location: Memphis
Distribution: Suse 8.0 Pro
Posts: 45

Rep: Reputation: 15
Most of this can be done transparently to the user, the only minor glitches would come in Samba, but they are being worked on and fixed.

Freeswan can do everything you need it to do here. If you use Linux totally, and run freeswan totally for ipsec connections it will be completley transparent to the user.

In your setup I would go ahead and get the DSL option if available. I would also pay a little extra for a static ip address. By running Freeswan and IPtables on the Linux Router you can easily allow each site to have it's own internet connection, yet securing it at the same time. Freeswan connects to Freeswan pretty easily.

Samba works really good as a windows networking server. The PDC and BDC limitions are easily over come by simple cron jobs or by setting up NIS. I'm currently running 2.2.3a (as a PDC) and I can join machines on the fly, and log in with no problems.

However when I try to add users to groups on my win2k clients I get errors. (I have a more in depth posting on here, but no help has come yet).

Anyway, that's the only thing that I have had a problem with, otherwise it works great as a PDC. The latest version is 2.2.5 and is available for download. This problem may have been fixed in the new version.
 
Old 07-30-2002, 08:13 PM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I just want to second one thing that krunkwick said - if possible get a static IP. What you want to do is easily doable even with a dynamic IP, but getting static's all the way around will really simplify/streamline things. Take a look at FreeS/WAN and let us know if you have any other questions.

--jeremy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic VPN Questions grim1234 Linux - Networking 6 03-22-2019 07:21 AM
questions about vpn... efm Linux - Networking 0 11-29-2005 12:27 AM
iptables questions for a vpn with fc3 workstation rchristophe Linux - Newbie 1 06-25-2005 07:02 AM
vpn server questions deus1 Linux - Networking 1 01-17-2005 01:34 PM
Couple Questions (dhcp, dns, vpn, *ldap*, ...) Lostboys Linux - Networking 1 10-06-2004 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration