I recently setup my Synology NAS (DSM 5.1) with a VPN, so I thought I’d write a quick post on how to do this.
Why use a VPN client?
A VPN client will help mask your activity, in particular 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!