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