close

 

Install Pptpd
 

# apt-get install pptpd
...

 

建立 PPTP VPN 連線設定檔
 

# pptpsetup --create LA --server 36.64.85.251 \
>    --username juno --encrypt
...

 

# vi /etc/ppp/peers/LA
...
# written by pptpsetup
#lock
#noauth
#nobsdcomp
#nodeflate
#ipparam LA
pty "pptp 36.64.85.251 --nolaunchpppd"
name juno
remotename LA
require-mppe-128
file /etc/ppp/options.pptp
defaultroute
replacedefaultroute
...

# vi /etc/ppp/chap-secrets
...
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
juno            LA      "mypassword"                *
...

 

建立 PPTP VPN 連線
 

# pppd call LA
...

 

 

 


 

 

 

z.png

 

 

arrow
arrow
    創作者介紹
    創作者 Lexra 的頭像
    Lexra

    Lexra Pixnet

    Lexra 發表在 痞客邦 留言(0) 人氣()