I am trying to host an OpenVPN server on my Jetson nano board (arm64). I followed the tutorial from a digital ocean side, but I can't connect to my VPN server outside of the network. However, I can connect when I'm inside, even if I use noips ddns. I also forwarded the port on my router.
Even if I run
tcpdump -i eth0 -vv -s 1500 port 1194 I don't see any connection either.
This is my client.ovpn (of course I removed the certificate and key details)
# Specify that we are a client and that we # will be pulling certain config file directives # from the server. client ;dev tap dev tun ;dev-node MyTap ;proto tcp proto udp remote example.ddns.net 1194 ;remote my-server-2 1194 ;remote-random resolv-retry infinite nobind user nobody group nogroup # Try to preserve some state across restarts. persist-key persist-tun ;http-proxy-retry # retry on connection failures ;http-proxy (proxy server) (proxy port #) #ca ca.crt #cert client.crt #key client.key remote-cert-tls server #tls-auth ta.key 1 cipher AES-256-CBC auth SHA256 key-direction 1 #comp-lzo verb 3 ;mute 20 # script-security 2 # up /etc/openvpn/update-resolv-conf # down /etc/openvpn/update-resolv-conf
-----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- -----BEGIN OpenVPN Static key V1----- -----END OpenVPN Static key V1-----
Any help is appreciated. Thank you very much.