[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Setting up a VPN server

Posted on 2005-05-11
Medium Priority
Last Modified: 2008-01-09
Hello, how do i setup a VPN server/daemon on a Linux box? Currently, I am using the following:
"Linux **censored** 2.4.20-021stab022.8.777-enterprise #1 SMP Fri Nov 12 10:42:02 MSK 2004 i686 unknown"

It's a Debian Woody 3.0

I got other options available to me such as REDHAT9, SuSe Linux, Fedora Core 1(*laughs* but dont ask why)

Doing a apt-cache search for "vpn" keyword yields the following results:

17051:~# apt-cache search vpn
pptp-linux - Point-to-Point Tunneling Protocol (PPTP) Client
pptpd - PoPToP Point to Point Tunneling Server
tinc - Virtual Private Network daemon
freeswan - IPSEC utilities for FreeSWan
secvpn - Secure Virtual Private Network (secvpn)
tunnelv - Encrypted network connection within a TCP/IP connection
vpnd - Virtual Private Network Daemon

Just a point to be taken, my kind of idea of a VPN server is that I am able to connect to the remote VPN server from my Windows XP Version 5.1(Build 2600.xpsp_sp2_gdr_050301-1519 : Service Pack 2) through the "New Connection Wizard". Just to be more specific,

Start the "create a new connection wizard" built into windows.
In windows 2000 click on Start > Settings > Network and dialup settings > Make New Connection
In windows XP click on Start > Connect to > Show all Connections. Now there should be an option that says "add a new connection" or "create a new connection" - choose it
You should now have a screen that looks like this. The screens show below will vary depending on the version of windows you have but most settings are similar enough to follow along. Click NEXT.
Choose the connection type that mentions VPN in the title or description as seen below. Click NEXT.
Choose Virtual Private Network connection. Click NEXT.
Enter virtual private network hostname and click NEXT.
Choose "Do not dial the initial connection". This setting is really optional depending on your preference. Click NEXT.
Click here to choose a server and then enter it here. For example, enter hostname.example.com and click NEXT. Note that this should be the same vpn server you choose a moment ago. (Two steps ago)
Click "Add a shortcut ...." as shown below.
Next start up the vpn connection. On most versions of windows it will open automatically. Enter your "User Name" and "Password" and click Connect. Optionally you can choose to save the user name and password if you like.

From the search above, which software/application vpn daemons/servers is feasible in which it allows me to be able to run such a VPN server allowing me to setup/edit configuration settings such as users/passwords. Any technically specific details on how to setup one would be very helpful to me. The VPN server should be able to bind to multiple IPs available on the server. Specific and clear details needed! Thank you.

Question by:dr0zaxx
  • 2
LVL 19

Assisted Solution

by:Gabriel Orozco
Gabriel Orozco earned 600 total points
ID: 13995712
Use PoPToP (pptpd)

the other that can work, is IPSec, but you need also l2tp in order to be able to make it work.

I think pptpd is your easiest and best bet of the ones showed. (I'm not a debian guy myself, but if you are expremely paranoid, you can follow the ipsec+l2tp way, or even better, go to openvpn.sourceforge.net and download the windows binary and the linux sources and compile and install it. it is a far better vpn)

Hope it helps.

Accepted Solution

apsivam earned 900 total points
ID: 14005250
why dont you give OpenVPN a try. Its easier to setup and work like a charm under Linux, Windows. I've recently setup for our office. It worth give it a try. It uses an entirely different approach from other yet providing excellent interoperatability. visit the following like for more info on OpenVPN www.openvpn.net.

Note: It requires additional software for your windows client.


Author Comment

ID: 14016942
I feel that OpenVPN is a bit too bloated. From what i see, connected users can see the remote computer files? I just want something vpn that allows the user to connect to the vpn server and able to use the internet of the remote computer.
LVL 19

Assisted Solution

by:Gabriel Orozco
Gabriel Orozco earned 600 total points
ID: 14018496
Any VPN allows to see other computer files, if you configure the windows client for networks and the other computers has windows sharing services enabled

openvpn does not go further than what other vpn's go. maybe it can make easier for you to go further, but it is a true vpn.

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question