ck.tseng wrote:
各位先進大家好. ...(恕刪)
1.windows 內的sstp vpn必須要用網址連線,不可以用ip連。
2.你要有一個自己的domain.
3.用你的domain去網上買一個ssl證書。
4.接著用你買來的證書導入routeros裡面即可。
網上免費的證書很多,但是那都有時效性,時間到就要更新證書才行。
我是一次買個三年省得麻煩,況且也沒多少錢。
YAWPYNG wrote:
1.windows 內的sstp vpn必須要用網址連線,不可以用ip連。
2.你要有一個自己的domain.
3.用你的domain去網上買一個ssl證書。
4.接著用你買來的證書導入routeros裡面即可。
Note: If you want to use server certificates for OVPN or SSTP and use client certificate verification, then CA certificate must be imported, too.
Office1 配置: /interface bridge add name=bridge_bcp protocol-mode=rstp /interface bridge port add bridge=bridge_bcp interface=ether2 /interface bridge set bridge_bcp admin-mac=xx:xx:xx:xx:xx:xx #ether2是本範例Office1 LAN的接口,而xx:xx:xx:xx:xx:xx是ether2的MAC地址 #指定Office1 LAN的地址為192.168.88.1/24 /ip address add address=192.168.88.1/24 interface=bridge_bcp #因只做layer2傳輸,不需local/remote-address, #所以新建profile(bcp-bridging)做特殊操作,以便和一般pptp傳輸做區隔 /ppp profile add name=bcp-bridging bridge=bridge_bcp use-encryption=yes /ppp secret add profile=bcp-bridging name=abc password=123 #需將pptp-server的mrru提升至1600,否則bcp極可能丟失封包 /interface pptp-server server set enabled=yes mrru=1600 |
Office2 配置: /interface bridge add name=bridge_bcp protocol-mode=rstp /interface bridge port add bridge=bridge_bcp interface=ether2 /interface bridge set bridge_bcp admin-mac=xx:xx:xx:xx:xx:xx #與pptp-server雷同 #指定Office2 LAN的地址為192.168.88.2/24 /ip address add address=192.168.88.2/24 interface=bridge_bcp /ppp profile add name=bcp-bridging bridge=bridge_bcp use-encryption=yes #profile與pptp-server雷同,方可回應橋接 /interface pptp-client add profile=bcp-bridging mrru=1600 connect-to=123.123.123.123 user=abc password=123 disabled=no #對Office1(123.123.123.123)進行pptp撥號,mrru也設置相對應的1600 |
蝦米爸爸 wrote:
我的做法略有不同:
1...(恕刪)
ck.tseng wrote:
1.以上憑證分別作用是不是 Server.crt 用於 Mikrotik sstp server 端 , Client1.crt 用於 Windows sstp 第一個 client 端,Cient2.crt用於 Windows sstp 第二個 Client端。
ck.tseng wrote:
2.我在設定好連結時,一直出現 0x800B0109 訊息,不知何處做錯。