Skip to content

Add generic wg private network routing #4636

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

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Add generic wg private network routing #4636

merged 1 commit into from
Jun 10, 2024

Conversation

neacsu
Copy link
Contributor

@neacsu neacsu commented Jun 10, 2024

As defguard wireguard only allows for peer routing modifications, we will configure the entire wireguard private network to be routed to the wg device.

Configuring per peer is also not desirable, as the interface doesn't allow removing routes, so unused ip routing won't be cleaned until gateway restart (and it would also pollute to routing table with a lot of rules when many peers are added)

@neacsu neacsu requested a review from octol June 10, 2024 12:37
@neacsu neacsu merged commit bb46235 into develop Jun 10, 2024
23 checks passed
@neacsu neacsu deleted the feature/wg_routing branch June 10, 2024 13:55
@octol octol added this to the Chomp milestone Jun 11, 2024
@tommyv1987
Copy link
Contributor

Testing Completion Date: [12/06/2024]

Testing Steps Performed:

  1. This is a part of a bigger ticket, but initial testing has proven to shown that launching nym-nodes (entry and exit gateways) in WG enable mode to be working

I will use this template for the other related WG tickets in this release milestone.

Validation:

  • ✅ Test Passed
  • [ 🔴 ] Issues Found

Notes (if any):
N/A

Attachments (if applicable):
N/A

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

Successfully merging this pull request may close these issues.

3 participants