Flachzange
Dabbler
- Joined
- Jul 10, 2022
- Messages
- 16
Hi everyone,
I require one of my apps to run with host networking enabled (in order to get it assigned to a vlan). This container actually has two interfaces configured in host networking mode:
Deploying the wg-easy container in "standard" configuration works well and I can reach all clients via the VPN in subnet B except the one service with host networking enabled, i.e. address 192.168.1.240. The Kubernetes internal DNS resolution does not work in this case.
Why is that the case and how can it be fixed?
Running wireguard as an app on the truenas host is only a temporary solution and should not be questioned now. It is more about the general question why an app with host networking enabled cannot be reached by a "native" app.
Appreciate your input!
Chris
I require one of my apps to run with host networking enabled (in order to get it assigned to a vlan). This container actually has two interfaces configured in host networking mode:
- Interface in subnet A (vlan)
- Interface in subnet B (standard subnet of truenas server and other clients). Assume it has address 192.168.1.240
Deploying the wg-easy container in "standard" configuration works well and I can reach all clients via the VPN in subnet B except the one service with host networking enabled, i.e. address 192.168.1.240. The Kubernetes internal DNS resolution does not work in this case.
Why is that the case and how can it be fixed?
Running wireguard as an app on the truenas host is only a temporary solution and should not be questioned now. It is more about the general question why an app with host networking enabled cannot be reached by a "native" app.
Appreciate your input!
Chris