-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need guidence on configuring default route via local-tun #1644
Comments
I am also appreciate for people who could contribute a proper script or configuration for |
I've just faced the same issue. Here is what worked for me:
Launch in Adjust routing (source https://www.wireguard.com/netns/#overriding-the-default-route) ip route add 0.0.0.0/1 dev tun0
ip route add 128.0.0.0/1 dev tun0
# avoid routing loop
ip route add ${server_ip}/32 via 172.17.0.1 dev eth0 And now either adjust your DNS address in ( ip route add ${local_dns}/32 via 172.17.0.1 dev eth0 |
I was able to route specific ip via local-tun, so it seems to be working, but I'm really struggling with settuing up default route.
I've also tried to replicate what openvpn is doing with routes, but it's over my head rn.
Would appreciate help. Feel free to close if that's outside of project's scope.
The text was updated successfully, but these errors were encountered: