Cannot reach remote machine, but works with Linux and Windows

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
dutchpuppy
OpenVpn Newbie
Posts: 1
Joined: Mon Mar 20, 2023 8:34 pm

Cannot reach remote machine, but works with Linux and Windows

Post by dutchpuppy » Mon Mar 20, 2023 8:54 pm

Hi, I've read the FAQS, searched the forum, scoured Google - nothing helpful (with this issue) found. Any insights? (please?)

I'm trying to connect to a server behind OpenVPN (2.4.7 x86_64-pc-linux-gnu on Ubuntu 20.04) and retain the local DNS routing (the VPN will not be used for web traffic, only used to access the remote web server).

It works great with Linux and Windows, I can access 192.168.77.77 with a browser - but when I connect with OpenVPN Connect Android v3.3.1 (9079) - I can't pull up the webpage (Chrome). I know Android can be a little wonky with networking - so I'm hoping this is a simple "do THIS, dummy" solution...

[SERVER]
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
server 10.8.0.0 255.255.255.0
push "route 192.168.77.0 255.255.255.0"
keepalive 10 120
cipher AES-256-GCM
auth SHA256
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
verb 3
explicit-exit-notify 1

[CLIENT]
remote xxx.xxx.xxx.xxx 1194
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-GCM
explicit-exit-notify
auth-nocache
auth SHA256
tls-client
tls-version-min 1.2
key-direction 1
verb 3

never-stop-learning
OpenVPN User
Posts: 40
Joined: Sat Oct 02, 2021 3:57 pm

Re: Cannot reach remote machine, but works with Linux and Windows

Post by never-stop-learning » Tue Apr 04, 2023 8:25 am

Hey man, If possible, provide traceroute results from Linux, Windows machines, and Android when connected to the VPN to the target IP address 192.168.77.77 for comparison.

Post Reply