GithubHelp home page GithubHelp logo

Comments (1)

hwdsl2 avatar hwdsl2 commented on May 26, 2024

@userofjack 你好!对于你的用例,问题可能与 IKEv2 rekey 有关(Windows 系统会以特定的间隔 rekey VPN 连接,但默认为 8 小时左右)。建议你在复现此问题之后 检查 Libreswan (IPsec) 和 xl2tpd 日志是否有错误

如果日志在出现该问题的时间显示 NO_PROPOSAL_CHOSEN,你可能遇到了 Windows 的这个 bug。如果你之前是手动创建了 IKEv2 连接,建议你尝试使用脚本自动导入配置,它有助于设置较优化的 IKEv2 连接参数。

另外,如果日志显示 retransmission 相关的错误,则可能与你的服务器与客户端之间的网络有关。你可以尝试增加 /etc/ipsec.d/ikev2.conf 中的 retransmit-timeout=300s 的值,比如 retransmit-timeout=600s,然后重启 IPsec 服务以生效。

如果你有新的信息可以继续在这里回复。

from setup-ipsec-vpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.