[Solved] Android 10: MOBILE CONNECTION OK, WIFI NOK

This forum is for general conversation and user-user networking.
Post Reply
Leopucci
OpenVpn Newbie
Posts: 2
Joined: Sat Sep 05, 2020 5:56 pm

[Solved] Android 10: MOBILE CONNECTION OK, WIFI NOK

Post by Leopucci » Sat Sep 05, 2020 6:42 pm

Android 10
3G/4g VPN OK
Wifi NOK

Android sw Openvpn version: 0.7.16
Icsopenvpn/v0.7.16-0-gf4b9a655

I have tried the openvpn connect software also
Openvpn connect 3.2.2(5027)

Wifi connection does not work.
I am using other locations wifi.
I am not testing on the same wifi from the server.

Client config

client
dev tun
proto udp
remote casa.teteia.com 1195
resolv-retry infinite
nobind
persist-key
persist-tun
ca /openvpn/ca.crt
cert /openvpn/cliente1.crt
key /openvpn/cliente1.key
comp-lzo
verb 3
cipher AES-256-CBC
float
route 192.168.60.0 255.255.255.0



Here is the connection log and below the full dump

Code: Select all

15:19:39.704 -- Server poll timeout, trying next remote entry...

15:19:39.725 -- EVENT: RECONNECTING

15:19:39.729 -- EVENT: RESOLVE

15:19:39.773 -- Contacting 191.54.42.221:1195 via UDP

15:19:39.774 -- EVENT: WAIT

15:19:39.776 -- Connecting to [casa.teteia.com]:1195 (191.54.42.221) via UDPv4

15:19:49.711 -- Server poll timeout, trying next remote entry...

15:19:49.733 -- EVENT: RECONNECTING

15:19:49.736 -- EVENT: RESOLVE

15:19:49.778 -- Contacting 191.54.42.221:1195 via UDP

15:19:49.779 -- EVENT: WAIT

15:19:49.784 -- Connecting to [casa.teteia.com]:1195 (191.54.42.221) via UDPv4
Full dump

Code: Select all

2020-09-05 15:07:46 compilação oficial 0.7.16 rodando no OnePlus ONEPLUS A5000 (msm8998), Android 10 (QKQ1.191014.012) API 29, ABI arm64-v8a, (OnePlus/OnePlus5/OnePlus5:10/QKQ1.191014.012/2006012143:user/release-keys)
2020-09-05 15:07:46 A preparar a configuração...
2020-09-05 15:07:46 started Socket Thread
2020-09-05 15:07:46 P:WARNING: linker: Warning: "/data/app/de.blinkt.openvpn-n8FGpeGDPmXWJ10Cw_gC6A==/lib/arm64/libovpnexec.so" is not a directory (ignoring)
2020-09-05 15:07:46 Estado da rede: CONNECTED to WIFI
2020-09-05 15:07:46 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2020-09-05 15:07:46 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2020-09-05 15:07:46 WARNING: Compression enabled, Compression has been used in the past to break encryption. Enabling decompression of received packet only. Sent packets are not compressed.
2020-09-05 15:07:46 Current Parameter Settings:
2020-09-05 15:07:46 config = '/data/user/0/de.blinkt.openvpn/cache/android.conf'
2020-09-05 15:07:46 mode = 0
2020-09-05 15:07:46 show_ciphers = DISABLED
2020-09-05 15:07:46 show_digests = DISABLED
2020-09-05 15:07:46 show_engines = DISABLED
2020-09-05 15:07:46 genkey = DISABLED
2020-09-05 15:07:46 genkey_filename = '[UNDEF]'
2020-09-05 15:07:46 key_pass_file = '[UNDEF]'
2020-09-05 15:07:46 show_tls_ciphers = DISABLED
2020-09-05 15:07:46 connect_retry_max = 0
2020-09-05 15:07:46 Connection profiles [0]:
2020-09-05 15:07:46 proto = udp
2020-09-05 15:07:46 local = '[UNDEF]'
2020-09-05 15:07:46 local_port = '[UNDEF]'
2020-09-05 15:07:46 remote = 'casa.teteia.com'
2020-09-05 15:07:46 remote_port = '1195'
2020-09-05 15:07:46 remote_float = ENABLED
2020-09-05 15:07:46 bind_defined = DISABLED
2020-09-05 15:07:46 bind_local = DISABLED
2020-09-05 15:07:46 bind_ipv6_only = DISABLED
2020-09-05 15:07:46 connect_retry_seconds = 2
2020-09-05 15:07:46 connect_timeout = 120
2020-09-05 15:07:46 socks_proxy_server = '[UNDEF]'
2020-09-05 15:07:46 socks_proxy_port = '[UNDEF]'
2020-09-05 15:07:46 tun_mtu = 1500
2020-09-05 15:07:46 tun_mtu_defined = ENABLED
2020-09-05 15:07:46 link_mtu = 1500
2020-09-05 15:07:46 link_mtu_defined = DISABLED
2020-09-05 15:07:46 tun_mtu_extra = 0
2020-09-05 15:07:46 tun_mtu_extra_defined = DISABLED
2020-09-05 15:07:46 mtu_discover_type = -1
2020-09-05 15:07:46 fragment = 0
2020-09-05 15:07:46 mssfix = 1450
2020-09-05 15:07:46 explicit_exit_notification = 0
2020-09-05 15:07:46 tls_auth_file = '[UNDEF]'
2020-09-05 15:07:46 key_direction = not set
2020-09-05 15:07:46 tls_crypt_file = '[UNDEF]'
2020-09-05 15:07:46 tls_crypt_v2_file = '[UNDEF]'
2020-09-05 15:07:46 Connection profiles END
2020-09-05 15:07:46 remote_random = DISABLED
2020-09-05 15:07:46 ipchange = '[UNDEF]'
2020-09-05 15:07:46 dev = 'tun'
2020-09-05 15:07:46 dev_type = '[UNDEF]'
2020-09-05 15:07:46 dev_node = '[UNDEF]'
2020-09-05 15:07:46 lladdr = '[UNDEF]'
2020-09-05 15:07:46 topology = 1
2020-09-05 15:07:46 ifconfig_local = '[UNDEF]'
2020-09-05 15:07:46 ifconfig_remote_netmask = '[UNDEF]'
2020-09-05 15:07:46 ifconfig_noexec = DISABLED
2020-09-05 15:07:46 ifconfig_nowarn = ENABLED
2020-09-05 15:07:46 ifconfig_ipv6_local = '[UNDEF]'
2020-09-05 15:07:46 ifconfig_ipv6_netbits = 0
2020-09-05 15:07:46 ifconfig_ipv6_remote = '[UNDEF]'
2020-09-05 15:07:46 shaper = 0
2020-09-05 15:07:46 mtu_test = 0
2020-09-05 15:07:46 mlock = DISABLED
2020-09-05 15:07:46 keepalive_ping = 0
2020-09-05 15:07:46 keepalive_timeout = 0
2020-09-05 15:07:46 inactivity_timeout = 0
2020-09-05 15:07:46 ping_send_timeout = 0
2020-09-05 15:07:46 ping_rec_timeout = 0
2020-09-05 15:07:46 ping_rec_timeout_action = 0
2020-09-05 15:07:46 ping_timer_remote = DISABLED
2020-09-05 15:07:46 remap_sigusr1 = 0
2020-09-05 15:07:46 persist_tun = ENABLED
2020-09-05 15:07:46 persist_local_ip = DISABLED
2020-09-05 15:07:46 persist_remote_ip = DISABLED
2020-09-05 15:07:4
Last edited by Pippin on Sun Sep 06, 2020 7:35 am, edited 1 time in total.

Leopucci
OpenVpn Newbie
Posts: 2
Joined: Sat Sep 05, 2020 5:56 pm

Re: Android 10: MOBILE CONNECTION OK, WIFI NOK

Post by Leopucci » Sun Sep 13, 2020 11:41 am

Forget about it..

The problem was on the openwrt router.
I configured a vpn server and client on the same router and for that seems to be necessary a vpn policy editor.
What was happening is that the requests to the vpn server where ok but the response was being sent over the router client vpn.
So the response was never received on the android client
I don't know how to close this thread

Post Reply