Page 1 of 1

Reports 'connected' but not works

Posted: Tue Feb 04, 2014 9:53 pm
by sofos
OpenVPN Connect (Android) connects to the server, shows correct IP (192.168.252.2) assigned by the server, but ping could not reach server's IP (192.168.252.1). What additional information is required?

Re: Reports 'connected' but not works

Posted: Tue Feb 04, 2014 10:39 pm
by sofos
Update:

Code: Select all

$ ip route show
default via 10.196.191.82 dev rmnet0
10.196.191.80/30 dev rmnet0 proto kernel scope link src 10.196.191.81
10.196.191.82 dev rmnet0 scope link
192.168.252.0/24 dev tun0 proto kernel scope link src 192.168.252.2
192.168.253.0/24 dev tun0 scope link
213.87.0.1 via 10.196.191.82 dev rmnet0
213.87.1.1 via 10.196.191.82 dev rmnet0
192.168.253.0/24 is a LAN behind the server.

Re: Reports 'connected' but not works

Posted: Thu Feb 06, 2014 6:16 pm
by sofos
Does anyone know how to get OpenVPN Connect (Android) log (which is printed on its log screen) as text? Or maybe a place where it is saved?

Re: Reports 'connected' but not works

Posted: Thu Feb 06, 2014 7:16 pm
by sofos
After

Code: Select all

trans=TO_CONNECTED
log is continuously (every 10 sec.) being append with

Code: Select all

time_signature -- TUN write error: write_some: invalid argument
What does it mean?

Re: Reports 'connected' but not works

Posted: Mon Feb 10, 2014 10:59 pm
by craigster175
Just a guess, since you haven't posted any configs, but if you compression enabled in your client's config file, try 'comp-lzo yes' instead of just 'comp-lzo'. I had a similar log file and symptoms and found this fixed it.

Re: Reports 'connected' but not works

Posted: Thu Jul 09, 2015 7:37 pm
by jani
I had this, when I tried to force no compression by specifying:

Code: Select all

comp-lzo no
Removing that line helped.

Re: Reports 'connected' but not works

Posted: Tue Jan 24, 2023 6:40 pm
by sergey83
for Android 9 (xiaomi redmi note 6 pro)
open vpn connect v.3.2.7

Code: Select all

client
dev tun
proto udp
remote vpn.domain.name 1194
nobind
resolv-retry infinite
ca keys/ca.crt
cert keys/client_name.crt
key keys/client_name.key
tls-client
tls-auth keys/ta.key 1
auth-nocache
persist-key
persist-tun
auth SHA512 
cipher AES-256-CBC
comp-lzo
verb 3
status-version 3
auth-user-pass
for Android 11 (xiaomi redmi note 9s)
open vpn connect v.3.3.0

Code: Select all

client
dev tun
proto udp
remote vpn.domain.name 1194
nobind
resolv-retry infinite
<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----

-----END OpenVPN Static key V1-----
</tls-auth>
tls-client
auth-nocache
persist-key
persist-tun
auth SHA512 
cipher AES-256-CBC
comp-lzo
verb 3
status-version 3
auth-user-pass
server is the only one.
but with the configuration for openvpn connect v.3.3.0 had to suffer

above are two working configurations with the same server