twardakm / synology-ddns-vpn Goto Github PK
View Code? Open in Web Editor NEWHow to configure Synology with DDNS and VPN
How to configure Synology with DDNS and VPN
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
Figured I'd share an alternate approach; if your using OpenVPN you can modify the OVPN file and add the routes there using the name, I do this for plex as well:
route plex.tv 255.255.255.255 192.168.50.1
route app.plex.tv 255.255.255.255 192.168.50.1
route my.plexapp.com 255.255.255.255 192.168.50.1
route myplex.tv 255.255.255.255 192.168.50.1
route synology.me 255.255.255.255 192.168.50.1
route ddns.synology.com 255.255.255.255 192.168.50.1
route checkip.digitalocean.synology.com 255.255.255.255 192.168.50.1
Hey I just wanted to say thank you so much for the writeup on how to connect Synology DDNS while using a VPN. It worked for me perfectly.
Hello
found your tut, followed it to the dot and configured it like you said and it worked for a long time. Now every now and then Synology seems to have new ip-adresses for its ddns.synology.com which causes the issue that my Synology is not reacheable from outside anymore by DDNS-Url even if I turn off VPN completely... I have then to static route the new ip adresses and have to wait for all the DNS-Servers to pick it up again... Is this a common issue and what could i do about it since it gets pretty annoying?
I know that you are not Synology but maybe you know about the issue too since you cofigured it as well and have a tip for me...
Thanks again for the great Tutorial!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.