Reports 'connected' but not works
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Feb 04, 2014 9:38 pm
Reports 'connected' but not works
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?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Feb 04, 2014 9:38 pm
Re: Reports 'connected' but not works
Update:
192.168.253.0/24 is a LAN behind the server.
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
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Feb 04, 2014 9:38 pm
Re: Reports 'connected' but not works
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?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Feb 04, 2014 9:38 pm
Re: Reports 'connected' but not works
After
log is continuously (every 10 sec.) being append with
What does it mean?
Code: Select all
trans=TO_CONNECTED
Code: Select all
time_signature -- TUN write error: write_some: invalid argument
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Jan 17, 2014 11:40 am
Re: Reports 'connected' but not works
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.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Jul 09, 2015 7:35 pm
Re: Reports 'connected' but not works
I had this, when I tried to force no compression by specifying:
Removing that line helped.
Code: Select all
comp-lzo no
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 24, 2023 6:28 pm
Re: Reports 'connected' but not works
for Android 9 (xiaomi redmi note 6 pro)
open vpn connect v.3.2.7
for Android 11 (xiaomi redmi note 9s)
open vpn connect v.3.3.0
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
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
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
but with the configuration for openvpn connect v.3.3.0 had to suffer
above are two working configurations with the same server