quicktrick
New Around Here
Hello! I have a VPS server under Ubuntu 15.4 with OpenVPN 2.4 installed. And I have RT-N66U with 380.65_beta1.
My current server config is:
the client config is:
Everything works fine on my Windows 10 machine with OpenVPN client for Windows.
But nothing works on my router. I tried lots of variations of the server and client configs but with no success. The router can connect to the server and the server log shows the connection, but I can't even ping the server or the internet from my router via SSH, it doesn't get any reply.
380.64_2 gave the same result.
Could anybody say what the problem may be?
My current server config is:
Code:
dev tun
proto tcp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
user nobody
group nogroup
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
#push "redirect-gateway def1"
push "remote-gateway 10.8.0.1"
push "redirect-gateway autolocal"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
cipher AES-256-CBC
log-append /var/log/openvpn
comp-lzo
the client config is:
Code:
client
remote x.x.x.x 1194
proto tcp
dev tun
#resolv-retry infinite
nobind
persist-key
persist-tun
cipher AES-256-CBC
#comp-lzo
#verb 3
<ca>
-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
.....
-----END PRIVATE KEY-----
</key>
Everything works fine on my Windows 10 machine with OpenVPN client for Windows.
But nothing works on my router. I tried lots of variations of the server and client configs but with no success. The router can connect to the server and the server log shows the connection, but I can't even ping the server or the internet from my router via SSH, it doesn't get any reply.
380.64_2 gave the same result.
Could anybody say what the problem may be?