大陆Window 10 PPTP client连接香港陈旧的PPTP server能话多久?
本帖最後由 张无忌 於 2025-1-12 13:52 編輯
大陆用Window 10内置PPTP client连接香港旧的router DDWRT PPTP server,看看能活多久呢?
一般只有0.5G,过0.5G后就cut!!!
下面是MikroTik router hAP ac^3的PPTP server简单configurations:
hAP ac^3 with v7.16.2, 有public IP, local IP=172.16.88.0/24。The firewall filter rules are initialed at the end and need to manually place in the first line.
Configuration 1:Router local IP=172.16.88.0/24- /interface pptp-server server set enabled=yes
- /ppp secret add local-address=172.16.88.1 name=vpn password=vpn profile=default-encryption remote-address=172.16.88.5 service=pptp
- /ip firewall filter
- add action=accept chain=input comment="PPTP China" dst-port=1723 \
- in-interface=ether1 protocol=tcp
複製代碼 身在2000公里大陆,用Windows 10 PPTP client能接上香港的MikroTik router。
Configuration 2:Router local IP=172.16.88.0/24, PPTP_pool=172.16.88.100-172.16.88.150- /ip pool
- add name=PPTP_pool ranges=172.16.88.100-172.16.88.150
- /ppp profile add name=PPTP_prof local-address=172.16.88.1 \
- remote-address=PPTP_pool use-encryption=yes
- /ppp secret add name=vpn password=vpn profile=PPTP_prof service=pptp
- /interface pptp-server server set default-profile=PPTP_prof enabled=yes
- /ip firewall filter
- add action=accept chain=input comment="PPTP China" dst-port=1723 \
- in-interface=ether1 protocol=tcp
複製代碼 身在2000公里大陆,用Windows 10 and Honor phone PPTP clients能接上香港的MikroTik router,我朋友也两个PPTP clients都login都没有问题,加起来4个PPTP clients。
Configuration 3:Router local IP=172.16.88.0/24, PPTP_pool=172.31.255.2-172.31.255.254- /ip pool
- add name=PPTP-pool ranges=172.31.255.2-172.31.255.254
- /ppp profile add name=PPTP-prof local-address=172.31.255.1 \
- remote-address=PPTP-pool use-encryption=yes
- /ppp secret add name=vpn password=vpn profile=PPTP-prof service=pptp
- /interface pptp-server server set default-profile=PPTP-prof enabled=yes
- /ip firewall filter
- add action=accept chain=input comment="PPTP China" dst-port=1723 \
- in-interface=ether1 protocol=tcp
複製代碼 身在2000公里大陆,用Huawei pad and Honor phone PPTP clients能接上香港的MikroTik router。
L2TP/IPsec, l2tp-pool ranges=172.31.254.2-172.31.254.254- /ip pool
- add name=l2tp-pool ranges=172.31.254.2-172.31.254.254
- /ppp profile add name=l2tp-profile local-address=172.31.254.1 \
- remote-address=l2tp-pool use-encryption=yes
- /ppp secret add name=vpn password=vpn profile=l2tp-profile service=l2tp
- /interface l2tp-server server set default-profile=l2tp-profile enabled=yes \
- use-ipsec=required ipsec-secret=vpn
- /ip firewall filter
- add action=accept chain=input comment="L2TP China" dst-port=1701 \
- in-interface=ether1 protocol=udp
- add action=accept chain=input comment="IPsec" dst-port=500,4500 \
- in-interface=ether1 protocol=udp
複製代碼 |
|
|