15

Programmer's Diary: Setting Up a PPTP from CLI on Linux

 3 years ago
source link: http://patkoscsaba.blogspot.com/2014/10/programmers-diary-setting-up-pptp-from.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Tuesday, October 7, 2014

Programmer's Diary: Setting Up a PPTP from CLI on Linux

From time to time I have to set up a PPTP connection to my office, and the KDE GUI fails. So here is a reminder to myself and anyone curious about how to connect to a PPTP VPN.

# pptpsetup --create syneto --server 82.78.203.62 --username csaba --password ******* --encrypt
# pon syneto
# ip route add 192.168.1.0/24 dev ppp0
# ip route add 10.0.0.0/24 dev ppp0

Add the DNS from the VPN network and a search domain.
# mcedit /etc/resolv.conf

# cat /etc/resolv.conf
nameserver 192.168.1.15
nameserver 8.8.8.8
nameserver 95.77.94.88
search dev.syneto.net

Have fun :)

No comments:

Post a Comment



About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK