OpenVPN

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 (10.11.12.1 being by DNS in the house) is as follows:

dhcp-option DNS 10.11.12.1"
redirect-gateway def1

Published by

lekkim

Positive, competent, out-spoken, frank and customer focused architect and developer with a strong foundation in web, cloud and product development. I'm a strong advocate for API first and cloud based solutions and development. I have a knack for being able to communicate and present technically complicated matters in conference, customer and training settings. I've previously acted as team member and leader in a product organisation.

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 user@danishserver.org </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.