In this article I’ll show you how you can configure you Synology NAS to use a VPN. In this case I’m using DSM 5.1.
Why use a VPN client?
A VPN client will help mask your activities online by tunneling your traffic through an intermediary proxy.
Why would you want to configure your Synology NAS to use a VPN … well lets just say this might especially be of interest to those using Synology Download Station 😉
How do I set it up?
- Open the CONTROL PANEL
- Navigate to the NETWORK tab
- Click the CREATE > CREATE VPN PROFILE button
- Choose the VPN connection method. It’s preferable to use OpenVPN as it’s the most secure, otherwise use LT2P/IPSEC if possible. For the purposes of this guide, I’m using OpenVPN.
- Enter the VPN connection details and attach the security certificate (which should come from your VPN provider). Make sure you tick the “Use default gateway on remote network” option to ensure internet traffic is routed through the VPN.
Enable the VPN
Once you’ve create the VPN profile, you’ll need to enable it by clicking the CONNECT button in the NETWORK INTERFACE panel.
- Connect to the NAS via SSH. In this case I’m using Putty for this. If you haven’t already, you’ll need to enable SSH in the TERMINAL & SNMP tab within the CONTROL PANEL.
- Running the IFCONFIG command should show you whether the VPN tunnel has been established.
- Running command “traceroute www.google.com” should also show that the ping ICMP request is being routed through the VPN.
And that’s it, easy!