返回列表 發帖
我現在出現一個問題不能解決
不知為什麼 使用PPTP 連大陸VPN 好像60分鐘左右就沒有反應.
但STATUS 明明顯示已連接, 但網頁一直沒有反應
請問有方法定時重新連接VPN? 或有師兄可借出大陸VPN 給我試?

TOP

節錄上土豆一段LOG,希望角色師兄幫忙解釋
  1. 22:50:23 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  2. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1298->123.126.98.146:80, len 52
  3. 22:50:23 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  4. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1299->123.126.98.146:80, len 52
  5. 22:50:23 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  6. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1300->123.126.98.146:80, len 52
  7. 22:50:24 firewall,info ### HELLO input: in:ether2-master-local out:(none), src-mac bc:5f:f4:96:7
  8. b:88, proto UDP, 192.168.1.25:68->192.168.1.1:67, len 328
  9. 22:50:26 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  10. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1298->123.126.98.146:80, NAT (192.168.1
  11. .25:1298->10.0.6.5:1298)->123.126.98.146:80, len 52
  12. 22:50:26 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  13. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1299->123.126.98.146:80, NAT (192.168.1
  14. .25:1299->10.0.6.5:1299)->123.126.98.146:80, len 52
  15. 22:50:26 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  16. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1300->123.126.98.146:80, NAT (192.168.1
  17. .25:1300->10.0.6.5:1300)->123.126.98.146:80, len 52
  18. 22:50:30 firewall,info ### HELLO input: in:ether2-master-local out:(none), src-mac bc:5f:f4:96:7
  19. b:88, proto UDP, 192.168.1.25:889->192.168.1.255:889, len 1448
  20. 22:50:30 firewall,info ### HELLO input: in:ether2-master-local out:(none), src-mac bc:5f:f4:96:7
  21. b:88, proto UDP, 192.168.1.25:889->192.168.1.255:889, len 1448
  22. 22:50:32 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  23. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1299->123.126.98.146:80, len 48
  24. 22:50:32 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  25. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1298->123.126.98.146:80, len 48
  26. 22:50:32 firewall,info ### HELLO forward: in:ether2-master-local out:118.PPTP_VIP_CN_Beijing_3,
  27. src-mac bc:5f:f4:96:7b:88, proto TCP (SYN), 192.168.1.25:1300->123.126.98.146:80, len 48
  28. 22:50:34 firewall,info ### HELLO input: in:ether2-master-local out:(none), src-mac bc:5f:f4:96:7
  29. b:88, proto UDP, 192.168.1.25:137->192.168.1.255:137, len 78
  30. 22:50:35 firewall,info ### HELLO input: in:ether2-master-local out:(none), src-mac bc:5f:f4:96:7
  31. b:88, proto UDP, 192.168.1.25:137->192.168.1.255:137, len 78
複製代碼

TOP

這是PPTP 的設定






附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

本帖最後由 ethan590 於 2015-3-1 14:20 編輯

參照gfx86674 那一個POST?gfx86674 很多專業的POST. SCRIPT 很複習還沒看懂

現在我用了一個比較笨的方法,每1分鐘ENABLE DISABLE 一次PPTP
  1. :delay delay-time=5;
  2. :while ([/ping 116.251.221.234 count=5]=0) do={
  3. /interface pptp-client disable [find where name="Shenzhen_2"];
  4. :delay delay-time=4;
  5. /interface pptp-client enable [find where name="Shenzhen_2"];
  6. :delay delay-time=10;
  7. };
複製代碼

TOP

返回列表