pptp client linux: quick and dirty

root@lexus:~# cat /etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client server secret IP addresses
user_name PPTP PpTpPaSs 85.233.x.x

Create connection config file /etc/ppp/peers/SLC

pty "pptp 85.233.x.x --nolaunchpppd"
name user_name
remotename PPTP
file /etc/ppp/options.pptp

Create a script to auto-add route to the target host, to which you want to connect via VPN ( /etc/ppp/ip-up.d/routes

/bin/ip route add dev ppp0


pppd call SLC


killall pppd

0 Responses to “pptp client linux: quick and dirty”

Comments are currently closed.