Re:Simple WireGuard Docker network setup
by resfirestar on Thursday September 24, 2020 @08:30PM
(#24585262)
I recently set this up, but with Podman since I was experimenting with CentOS. It turned out to be quite simple to use network namespaces. I created a new namespace for wireguard and moved wg0 into the namespace, then had the container use that namespace:
When I tried this was not yet possible with rootless containers, but in newer Podman versions you can tell slirp4netns to use a specific network interface with --network=slirp4netns:outbound_addr=INTERFACE.
[ Parent
| on HN ]
There are no comments on this comment yet.