News for hackers. Stuff that matters.
Re:WireGuard on K8s: road-warrior-style VPN server by tombh on Tuesday April 28, 2020 @08:26AM (#23006304)
That's an interesting idea about using a unified network interface. Do you know how you might then get the right packets to the right containers/processes? Does that even matter with Wireguard?
Re:WireGuard on K8s: road-warrior-style VPN server by KenanSulayman on Tuesday April 28, 2020 @09:19AM (#23006652)
You can use a different container as network in docker: 'container:<name>' would route the container traffic through specified container.

Example vpn container:

  docker run --name foo --cap-add=NET_ADMIN ...
Other container:

  docker run --net=container:foo ...
Now you'd need to specify the respective routing rules [1] in the container.

[1] i.e. https://github.com/bubuntux/nordvpn/blob/master/start_vpn.sh...