twardakm / synology-ddns-vpn

How to configure Synology with DDNS and VPN
36 stars 2 forks source link

Does this also work with Reverse proxy? #4

Open BobWs opened 10 months ago

BobWs commented 10 months ago

Hi I was wondering if this is also working with reverse proxy. I don’t open port 5001 directly to my NAS because of security, but instead I’m using reverse proxy for especially my docker containers which need access from the internet. So do you think this would work?

Edit: I tried the alternative method with the route in the openvpn file and it worked, but then my reverse proxy stop working. When I disable the multiple gateway pref reverse proxy was working again but then the route didn't work. So I found out that if I add this to my openvpn config file it works as supposed. I can use DDNS and reverse proxy for internet access to my NAS and VPN is connected.

route-nopull
route 192.168.0.0 255.255.0.0