Skip to content
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

Any realiable method to shut down a tunnel and bringing it back? #115

Open
mleone87 opened this issue Mar 24, 2022 · 1 comment
Open

Any realiable method to shut down a tunnel and bringing it back? #115

mleone87 opened this issue Mar 24, 2022 · 1 comment

Comments

@mleone87
Copy link

Hi, I noticed that when I disable the wg interface to test a kill switch configuration, bringing it back does not route traffic through it because in the default route in the associated route table disappears since the gateway disappears.

Any method to bring it back without manual intervention?

@DonDizzurp
Copy link

I disable it from the web interface's dashboard all the time. It doesn't touch anything in the routing table.

If you use CLI, it should be 'set interfaces wireguard wg0 disable' to disable and 'delete interfaces wireguard wg0 disable' to enable. Is this what you're doing and it's giving you issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants