I’ve tried following these instructions but I still can’t get the VPN to my synology NAS to work from the GL-MT300 router. When I try to connect I just get this screen.
I’ve tried both TCP and UPD with the same result. The same ovpn file works fine when I use it directly from my laptop. Can anyone tell me what I might be doing incorrectly.
Remaking in or out ‘#redirect-gateway def1’ and ‘#dhcp-option DNS 10.0.0.1’ seems to make no difference. Using the actual Servers IP address on the internet makes no difference.
Here’s my ovpn file contents.
dev tun
tls-client
remote MY-QUICK-CONNECT_ADD 1194
# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)
float
# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)
#redirect-gateway def1
# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.
#dhcp-option DNS 10.0.0.1
pull
# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto tcp
script-security 2
#comp-lzo
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass
client-cert-not-required
<ca>
-----BEGIN CERTIFICATE-----
Removed
-----END CERTIFICATE-----
</ca>
The ovpn file is being created by Synology NAS. However I’ve been able to get a connection now. I had to remove the line
‘client-cert-not-required’
from the ovpn file. It seems to be working now, although I’ll have to do some more tests using my phone as the internet connection because currently I’m connected locally to the same network I’m trying to VPN to.
I think I’ve got it now so thanks for the help, it pointed me in the right direction. If I have more problems actually connecting remotely I’ll get back to you.