Have a Synology Diskstation at home which I among other things use as an OpenVPN server. When I’m traveling I enjoy being able to watch Danish TV without any geographical restrictions. I do this by having my OpenVPN profile (ovpn file) tunnel all traffic through the VPN incl. DNS. It also means that I can use it to safely browse if on a questionable wifi such as no-encryption hotel wifi or conference wifi. The two commands you need to add to the configuration generated by the OpenVPN server on the Synology ( being by DNS in the house) is as follows:

dhcp-option DNS"
redirect-gateway def1

3 thoughts on “OpenVPN”

  1. Thank you Mikkel for your post. I’ve just ordered the new Synology DS216+ for home.

    Enjoy the fantastic DiskStation Manager O.S. Other manufacturers like Netapp, HP, EMC and Samsung (for TVs) should have a look 🙂

    Great to see more posts about Synology.


  2. If your <span style="font-family: ‘Trebuchet MS’, ‘Lucida Grande’, Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 19.5px;">Synology uses ssh you can just </span><span style="color: rgb(51, 51, 51); font-family: UbuntuMono, courier, monospace; font-size: 13px; line-height: 16px; white-space: pre-wrap; background-color: rgb(243, 243, 243);">ssh -C -D 1080 </span>and setup firefox to use Manual proxy -> SOCKS Host: localhost Port 1080

    All internet traffic will be routed through your SSH tunnel


Comments are closed.