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

Please add support for Table= option in wg-quick #83

Closed
sid3windr opened this issue Jun 19, 2023 · 0 comments · Fixed by #109
Closed

Please add support for Table= option in wg-quick #83

sid3windr opened this issue Jun 19, 2023 · 0 comments · Fixed by #109

Comments

@sid3windr
Copy link
Contributor

I would like to turn off routing table modification by wg-quick - this can be done by entering Table=off in the configuration file (it also supports other options than off).

From man wg-quick:

       •      Table — Controls the routing table to which routes are added. There are two special values: `off' disables the creation of routes altogether, and `auto' (the default) adds routes to the default table and enables special handling  of
              default routes.

Currently this is not configurable in the Puppet module. I am allowing all IPs over the tunnel but do not want wireguard to enter any default routes over it.

The systemd provider equivalent would, I believe, be RouteTable=off under [WireGuardPeer] in the netdev file.

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