How to connect a Debian machine to a Windows 2008 PPTP VPN
- June 8th, 2010
- Posted in Tech Recipes
- By Germán Medina
- Write comment
- #apt-get install pptp-linux
- #apt-get install ca-certificates
- Copy certificate to /usr/share/ca-certificates . If your certificate extension is .cer then change it to .crt
- #dpkg-reconfigure ca-certificates //Select your certificate from the list
- Follow the pppt client debian configuration instructions on http://pptpclient.sourceforge.net/howto-debian.phtml
- Create a /etc/ppp/ip-up.d/ppp0 with routing information:
#!/bin/sh
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0 - #chmod +x /etc/ppp/ip-up.d/ppp0
- Add the next lines to you /etc/ppp/peers/provider file if you want your connection to be reconnected if it fails and if you want to assign a static ip address to your connection
persist
192.168.1.10:
No comments yet.