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

Routed networks, MTU and node change script executions #60

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

degola
Copy link

@degola degola commented Mar 10, 2021

We were looking for a solution like that to replace our internal, very configuration heavy, tooling and found Wesher which is a great concept in our opinion.

Since we needed a bit more flexibility around the networks (AllowedIps) part we added the following functionality and would love to see it merged:

  • Merging the change from https://github.com/kaiyou/wesher which adds the possibility to add a nodes network to the AllowedIps configuration of the Wireguard interface: --routed-nets
  • Added the possibility to configure MTU instead of hard-coded 1420: --mtu
  • Added the possibility to execute a custom program (e.g. shell script) everytime a node change happens (NodeJoin, NodeLeave, NodeUpdate): --node-update-script
  • Added an example script of how to use --routed-nets together with --node-update-script so that all nodes of the cluster adding a corresponding route based on wg show $INTERFACE: utilities/update-node-routes.sh

@costela costela added the enhancement New feature or request label Mar 11, 2021
Sebastian Lagemann added 3 commits March 12, 2021 17:44
…or command line arguments

added the possibility to add multiple routed networks instead of just one
@boedy
Copy link

boedy commented Sep 28, 2023

Is there anything blocking this PR? Support for custom MTU values would be a nice addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants