[問答] 用pptp架設VPN server
我先在同個網域先做測試,VPN server ip(ubuntu):172.16.51.27
client ip(Windows):172.16.51.16
1 apt-get install pptpd
=============================================
2 vim etc/pptpd.conf
localip 172.16.51.27
remoteip 172.16.51.234-238, 172.16.51.245
=============================================
3 vim etc/ppp/pptpd-options
name pptp
ms-dns 168.95.1.1
ms-dns 8.8.8.8
===============================================
4 vim etc/ppp/chap-secrets
vpn_user pptp bernie 172.16.51.234
=================================================
接著使用Windows VPN 連線程式 輸入以上serviceIP以及帳密,無法與目標建立連線
出現 2147952461 錯誤訊息,googlg 之後去改了VPN連線點右鍵內容安全性
資料加密選不允許加密,以及取消 Microsoft CHAP 版本2-->試驗結果無效。
接著懷疑ubuntu沒有開VPN server 1723 port,請問是用iptables開啟嗎?
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT --> 試驗結果無效
我目前就只是想用Windows VPN連線程式連到 device 上的 VPN server而以
沒想用來上網,請問我沒設定到啥呢? 謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.21.170.157
※ 文章網址: http://www.ptt.cc/bbs/Network/M.1412064408.A.8EB.html
※ 編輯: gn00618777 (211.21.170.157), 09/30/2014 16:09:58
→
09/30 17:16, , 1F
09/30 17:16, 1F
→
09/30 17:18, , 2F
09/30 17:18, 2F
→
09/30 17:40, , 3F
09/30 17:40, 3F
→
09/30 17:41, , 4F
09/30 17:41, 4F
→
09/30 21:20, , 5F
09/30 21:20, 5F
→
09/30 21:21, , 6F
09/30 21:21, 6F
→
09/30 21:23, , 7F
09/30 21:23, 7F
→
09/30 21:24, , 8F
09/30 21:24, 8F
→
10/01 12:34, , 9F
10/01 12:34, 9F