Answer the question
In order to leave comments, you need to log in
How to make OpenVPN work next door to Docker?
Greetings. The problem is the following.
I bet on a clean VDS'ku OpenVPN. I forward iptables so that everyone connected to OpenVPN has Internet and that computers inside the network can see each other
iptables -I FORWARD -i tun0 -o ens3 -j ACCEPT
iptables -I FORWARD -i ens3 -o tun0 -j ACCEPT
iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
Answer the question
In order to leave comments, you need to log in
save iptables doesn't help, hmm...
You can prevent docker from managing the firewall, but you will have to enter the rules for containers yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question