Page 1 of 1

Cannot reach remote machine, but works with Linux and Windows

Posted: Mon Mar 20, 2023 8:54 pm
by dutchpuppy
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

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

Posted: Tue Apr 04, 2023 8:25 am
by never-stop-learning
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.