| 1 | = VPN = |
| 2 | |
| 3 | Set up pptp-client, we need to edit 2 files with content as following |
| 4 | {{{ |
| 5 | #!sh |
| 6 | [root@mini peers]# pwd |
| 7 | /etc/ppp/peers |
| 8 | [root@mini peers]# cat apricot |
| 9 | # written by pptpsetup |
| 10 | pty "pptp 188.16x.xx9.x39 --nolaunchpppd" |
| 11 | lock |
| 12 | noauth |
| 13 | nobsdcomp |
| 14 | nodeflate |
| 15 | name tonic9 |
| 16 | remotename apricot |
| 17 | ipparam apricot |
| 18 | require-mppe-128 |
| 19 | }}} |
| 20 | |
| 21 | Since we use name=tonic9, we need to add user tonic9 in '''/etc/ppp/chap-secrets'''' |
| 22 | {{{ |
| 23 | #!sh |
| 24 | [root@mini peers]# grep tonic9 /etc/ppp/chap-secrets |
| 25 | tonic9 apricot "tonic@dmin" * |
| 26 | [root@mini peers]# |
| 27 | }}} |