-
Notifications
You must be signed in to change notification settings - Fork 36
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
wireguard client inside systemd-nspawn container #98
Comments
You would probably want to setup bridge networking for wireguard to work, but I haven't tested this myself. |
Using bridge or macvlan networking mode would be a good next attempt. It's not clear though what doesn't work about |
Also I'd run |
yea, bridge networking was the answer. for the default host networking, there was no errors thrown by thanks for your help and suggestions! think we got this solved. or at least a viable workaround with bridged networking. |
@joeroback I'm having issues getting access to my LAN over the internet. I set up the bridge as you did. I also forwarded wireguard port on my router. Any tips? |
@NylonDiamond please start with #135 |
not sure my setup makes sure all traffic goes over wireguard VPN and i never access any local resources. the containers write to datasets that other containers use etc, but i limit my containers using VPN/wireguard to have to use the wireguard interface, no leaking etc |
hi. is possible to use wireguard as a client in systemd-nspawn containers? jailmaker seems to be passing
--capability=all
but default, but using wireguard inside does not seem to work (e.g.wg-quick up wg0
). would it work with a different type of networking mode besides the default, host networking? thxThe text was updated successfully, but these errors were encountered: