Reports 'connected' but not works

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
sofos
OpenVpn Newbie
Posts: 4
Joined: Tue Feb 04, 2014 9:38 pm

Reports 'connected' but not works

Post by sofos » Tue Feb 04, 2014 9:53 pm

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?

sofos
OpenVpn Newbie
Posts: 4
Joined: Tue Feb 04, 2014 9:38 pm

Re: Reports 'connected' but not works

Post by sofos » Tue Feb 04, 2014 10:39 pm

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.

sofos
OpenVpn Newbie
Posts: 4
Joined: Tue Feb 04, 2014 9:38 pm

Re: Reports 'connected' but not works

Post by sofos » Thu Feb 06, 2014 6:16 pm

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?

sofos
OpenVpn Newbie
Posts: 4
Joined: Tue Feb 04, 2014 9:38 pm

Re: Reports 'connected' but not works

Post by sofos » Thu Feb 06, 2014 7:16 pm

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?

craigster175
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 17, 2014 11:40 am

Re: Reports 'connected' but not works

Post by craigster175 » Mon Feb 10, 2014 10:59 pm

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.

jani
OpenVpn Newbie
Posts: 1
Joined: Thu Jul 09, 2015 7:35 pm

Re: Reports 'connected' but not works

Post by jani » Thu Jul 09, 2015 7:37 pm

I had this, when I tried to force no compression by specifying:

Code: Select all

comp-lzo no
Removing that line helped.

sergey83
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 24, 2023 6:28 pm

Re: Reports 'connected' but not works

Post by sergey83 » Tue Jan 24, 2023 6:40 pm

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

Post Reply