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

Feature: add linux network namespace support for wireguard #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

suzakuwcx
Copy link

Wireguard document here

So I add a new configure option 'WGNamespace', if exist, the wireguard will be moved into the sub interface

Here is my test environment, built by GNS3, with archlinux qemu vm, base-1 and base-2 are peers

img1

Configure origin
img2

Configure with 'WGNamespace=subnet'
img3

Add a new wireguard configuration 'WGNamespace', if exist, the
wireguard profile will configure in the sub network namespace
@joukewitteveen
Copy link
Owner

At first glance this looks excellent, thanks! I'll read up on network namespaces and will come back with a proper review later.

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.

2 participants