HOWTO: PPTP: Ubuntu Client connect to Windows VPN Server
The company I work for just starting to use Windows ISA Server (or whatever)
in some places.
And also, they use the Windows server to be a VPN server.
As Micro$oft doesn't officially support OpenVPN, and we don't consider IPsec to be used for end users, they decide to use the fu*king insecure PPTP, which I would definitely never wanna try.
That's where my Nightmare starts.
After some tries, I can use the VPN on my Android phones, and it seems works fine on iPhone, too.
But I just can't get it work on my Ubuntu boxes. The VPN connection just cannot established and I got error in my /var/log/syslog like this:
Mar 17 00:03:13 0xB1uE7 pppd17577: EAP:
peer reports authentication failure
No matter what, I got it work in the end, finally.
And these are the steps how to get it work.
- $ apt-get install network-manager-pptp
- $ sudo /etc/init.d/network-manager restart
- Click the NetworkManager Applet
- VPN Connection ->
Configure VPN ->
<VPN> -> Add
- Choose <Point-to-Point Tunneling Protocol (PPTP)> -> Create
- Fill out those neccessary informations and click Advanced
Authenticationsection, , .
Security and Compressionsection, , and choose
Securityto be <All Available (Default)>
- OK -> Accept -> Close
- Now click the NetworkManager Applet
- Click VPN Connection
and click the profile you just created.
- Wait for few seconds till it get connected.
Hope this HOWTO can save a tree and a kitten.