Sample Header Ad - 728x90

Docker expose port only to VPN

2 votes
0 answers
157 views
I'm setting up a DNS filter using Pi-Hole and OpenVPN on a VPS. Pi-hole is running in a Docker container and exposes port 80 for its web interface. How do I expose this port only to traffic originating from the VPN (10.0.8.0/24), and not to the internet?
Asked by user3628960 (33 rep)
Feb 17, 2022, 12:56 PM