dperson / openvpn-client

GNU Affero General Public License v3.0
1.05k stars 585 forks source link

Synology firewall vpn #391

Closed xdxxp6qp closed 1 year ago

xdxxp6qp commented 2 years ago

Greetings, tell me… Installed docker container on synology. The problem is the following. When the firewall is enabled, the VPN cannot connect. When disabled everything works. Where to dig? I need the vpn to work when the firewall is turned on

docker run -it \ --name=vpn \ --cap-add=NET_ADMIN \ --device /dev/net/tun \ -p 7330:9117 \ -p 8084:17442 \ -e TZ=Asia/Yekaterinburg \ -v /home/docker/openvpn-client:/vpn \ -d dperson/openvpn-client \ -a ***

master-hax commented 2 years ago

Have you tried creating an exception for Docker in the firewall rules?

image