access to docker container ports thru VPN Tunnel (as client) #195
Unanswered
SuperMotzer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I use my synology as Wireguard client. The recommended routing rules:
PostUp = iptables -t nat -A POSTROUTING -o wg+ -j MASQUERADE
PreDown = iptables -t nat -D POSTROUTING -o wg+ -j MASQUERADE
are efficient for the ports of the host but not for the docker ports that are published at the host.
Means I can access to my containers on a local basis (192.168.xxx) but when I'm outside I can only access webserver, admin, SSH but none of my containers. Their ports are not visible.
Thank you for your help,
Cheers,
Stephan
Beta Was this translation helpful? Give feedback.
All reactions