Question
How to connect to another container in the same Docker network with VPN server
Hello. I’m building a VPN tunnel with a VPN server running on a Docker container on top of an Ubuntu Droplet. I have other containers running in the same Docker network (network_mode: bridge) of the VPN server container. I wanted to limit the access so that only VPN clients can have access to the other containers in the same Docker network with the VPN server container. Which IP address or subnet should I allow in the DigitalOcean Firewall? I tried allowing the public IP of the Ubuntu server but still can’t access the other container somehow. I’d appreciate if anyone can help or give hints about this matter. Thank you!