I have one server with kubernetes (single node cluster) with several microservices behind ingress. Is it possible to add Wireguard VPN (installed directly on the OS) to such a server? Set it to default gateway (egress) mode. I want the client to be able to access the rest of the Internet safely through the VPN tunnel. I don't know if this combination will work. So far I have always run the VPN on a separate server.
Asked
Active
Viewed 84 times
0
-
It's worth trying on a lab, although I suspect this would not work. Both kubelet and your sdn processes are already actively configuring your nodes networking (routes, nat outbound traffic, maybe internal firewalling if using networkpolicies, ...). May be easier to setup your gateway on a separate node. – SYN Nov 05 '22 at 10:19