安裝 pptpclient
cd /usr/ports/net/pptpclient/
make install clean 

編輯設定檔
vi /etc/ppp/ppp.conf

myvpn:
 set authname testuser  #登入帳號
 set authkey  1234    #登入密碼
 set timeout 0
 set ifaddr 0 0
 add 10.0.0.0/8 hisaddr
 add 172.16.0.0/12 hisaddr
 alias enable yes
 disable ipv6cp

建立連線
nohup pptp vpn-server-ip-or-hostname myvpn &

arrow
arrow
    文章標籤
    freebsd pptp vpn
    全站熱搜

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