wiki:VPN

Version 1 (modified by krit, 4 years ago) (diff)

--

VPN

Set up pptp-client, we need to edit 2 files with content as following

[root@mini peers]# pwd
/etc/ppp/peers
[root@mini peers]# cat apricot
# written by pptpsetup
pty "pptp 188.16x.xx9.x39 --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
name tonic9
remotename apricot
ipparam apricot
require-mppe-128

Since we use name=tonic9, we need to add user tonic9 in /etc/ppp/chap-secrets'

[root@mini peers]# grep tonic9 /etc/ppp/chap-secrets
tonic9          apricot         "tonic@dmin"    *
[root@mini peers]#