I have Docker container (Ununtu) in my host mashine (Win10). And actually I need to use this container as a proxy for some requests in the internet. For example I am making request to https://host1.com/create?test=10. And I should not connect this resource directly. I want to achive it through my container proxy. But for other hosts I want to use direct access. I need this because I want to have multiple vpn connections at the same time. I can create a Docker container with vpn connection, but I don't understand how to pass traffic through this container for particular (or even every) host. I was trying to use Nginx, but didn't succeed. I'm sure that is pretty much common issue, but it out of my experience and competence, so please help me if you can :)
Asked
Active
Viewed 33 times