Hi Guys,
So I am having issues getting the OpenVPN plugin up and going. I just want to have remote access to my NAS when I'm outside my home network so I tried installing the OpenVPN plugin.
I basically followed the below guide to try and get things up and going.
https://ameridroid.com/blogs/a…emote-access-with-openvpn
I keep getting the below output from the OpenVPN GUI:
Fri Jul 19 21:31:31 2019 MANAGEMENT: >STATE:1563568291,WAIT,,,,,,
Fri Jul 19 21:32:31 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Jul 19 21:32:31 2019 TLS Error: TLS handshake failed
Here is the contents of my /etc/openvpn/server.config file:
port 1194
proto udp
dev tun
ca "/etc/openvpn/pki/ca.crt"
cert "/etc/openvpn/pki/issued/Boyd-NAS.crt"
key "/etc/openvpn/pki/private/Boyd-NAS.key" # This file should be kept secret
dh "/etc/openvpn/pki/dh.pem"
topology subnet
server 10.8.0.0 255.255.255.0
push "route 10.8.0.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
;push "route 192.168.0.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
;client-to-client
keepalive 10 120
;comp-lzo
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
verb 2
mute 10
crl-verify "/etc/openvpn/pki/crl.pem"
# Extra options
While researching people had claimed that changing ;push "route 192.168.0.0 255.255.255.0" to push "route 10.8.0.0 255.255.255.0" resolved their issue but it didn't seem to work for me.
I am pretty sure I have Port 1194 open on my router so I don't know what else I am doing wrong.
If anyone has any suggestions or can see anything wrong in my config file it would be a very big help.