Now the setup of OpenVPN is completed! Try execute it as below
# cd /opt/etc/init.d # ./S20openvpn
then examines the log file for any error messages:
If success, there will be a message like below
Initialization Sequence Completed
Again, don’t forget to setup a single port forwarding on the router connecting to the DS207+
- Port number must be the same as the value you defined in openvpn.conf
- Select UDP, according to the setup you defined in openvpn.conf, or simply select ‘both’
- Assign the internal network IP address of the NAS
- IP-Masquerade must be setup correclty on the machine running openvpn server, otherwise openvpn client will be able to access other devices in the network.
Congratulation! OpenVPN server is now running on the Diskstation.