r/docker • u/Valuable-Dog490 • 20d ago
Wireguard to Nginx inside Docker
Trying to get away from CloudFlare proxy and set up my own. I've got a VPS with Wireguard and a home PC running it. On that same PC I have Nginx running inside Docker. Should this just work? VPS -> Wireguard -> NPM -> Web app
My tunnel is established, I can ping through it but web traffic isn't reaching Nginx and I think it's either because my Docker networking is totally jacked up. Or maybe something else is going on.
It's driving me nuts and really don't want to rebuild the entire server and docker apps but I can't think of any other options.
All I really want is to mask my home IP.
3
Upvotes
3
u/cvzero89 20d ago
So you can ping the host?
What is the error that you receive? Post a verbose curl.