Answer the question
In order to leave comments, you need to log in
VPN and docker. How to redirect local traffic?
When connecting to a VPN, access to forwarded ports from docker is lost.
I’ll make a reservation right away that a vpn client of one provider is used and it does not have the ability to configure tunneling to ip.
I raise sites locally on domains like example.localhost (in fact 127.0.0.1: * )
As I understand it, through iptables it should be possible to redirect all traffic when localhost is tapped to a regular subnet.
Actually, how to do it?
Answer the question
In order to leave comments, you need to log in
1. Create a network.
2. Address containers using the container's internal IP.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question