Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does anyone know if I can run a Linux-based VPN server on my Ubuntu server and connect to it using Windows 7’s native VPN connection wizard? If this is possible, which VPN server should I use?

Thanks!

share|improve this question
add comment

4 Answers 4

up vote 5 down vote accepted

Not 100% sure on what Windows 7 is looking for but previous versions of Windows natively supported PPTP. The Linux server for this is called PoPToP.

http://www.poptop.org/

I too however do prefer OpenVPN but if your requirements are that it works with Windows natively PoPToP is what you're looking for. We use it where I work for two reasons. It's what they were using when I started here and it works with the iPhone where OpenVPN doesn't currently.

share|improve this answer
    
Looks like Windows 7 may include some sort of IPSEC client as well. wiki.strongswan.org/wiki/strongswan/Windows7 –  3dinfluence Sep 10 '09 at 19:32
    
Link appears dead. –  SchighSchagh Oct 19 '13 at 21:32
add comment

Linux's IPSec servers (FreeSWAN, OpenSWAN, StrongSWAN) all support L2TP, which WinXP, Vista (and i presume 7) all support natively. Installing the certificate is a minor PITA, but after that it works like PPTP, only without the nasty vulnerabilities in the latter!

share|improve this answer
add comment

Got it working! Thanks 3dinfluence!

Ubuntu Server:

  1. apt-get install pptpd
  2. Edit /etc/ufw/sysctl.conf and uncomment: net.ipv4.ip_forward=1
  3. Reboot
  4. Forward all necessary VPN ports to the Ubuntu server and make sure there is no firewall blocking them

Windows 7:

  1. Create a new connection to a VPN
  2. Follow the wizard and enter the external address of the Ubuntu server

Good times.

share|improve this answer
add comment

It might be simpler to use OpenVPN instead.

This page has instructions for downloading the OpenVPN GUI client for use on Windows 7; I am using it now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.