Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Regarding the routes issue in TUN mode of cftun #9

Open
raysupman opened this issue Feb 26, 2025 · 0 comments
Open

Regarding the routes issue in TUN mode of cftun #9

raysupman opened this issue Feb 26, 2025 · 0 comments

Comments

@raysupman
Copy link

If I use the following configuration information, it will cause a direct disconnection between me and the server, and I will no longer be able to connect. I found that it was a problem with 0.0.0.0/0, because after cftun is turned on, cftun will take over all traffic. Is it possible to increase which routes are ignored so that these ignored routes can use local traffic.

Similar to ip route add throw *******

    "tun": {
      "enable": true,
      "name": "tun1",
      "interface": "eth0",
      "log-level": "error",
      "routes": [
        "0.0.0.0/0",
        "::/1"
      ]
    }
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant