-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add different wireguard tunnel mode options
Allow users to configure a wireguard backend mode which determines how the tunnel(s) are setup. The current method (a tunnel per address family) is kept as a "seperate" mode on top of that three modes are added that use a single wireguard tunnel overe which traffic for both network families travels. Specifically the following new modes are added all using a single tunnel: * ipv4: Use the remote nodes ipv4 address as wireguard pper * ipv6: Use the remote nodes ipv6 address as wireguard pper * auto: automatically determine which remote node address (v4 or v6) to use. (default) The main benefit of these new modes is that all combinations of nodes only need to have a single viable network path between them to setup the full mesh. For example if in a dual-stack setup (some) nodes have no viable ipv4 path the mesh can simply run over ipv6. This also simplifies firewalling as it only requires a single port to be open. And finally it avoids having odd issues where node pods can connect over one address family but not the other due to only one tunnel having connectivity. Signed-off-by: Sjoerd Simons <[email protected]>
- Loading branch information
1 parent
875c202
commit b5565a0
Showing
4 changed files
with
165 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters