Android connection fails with same settings as working Windows

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 4:47 am

Hello everyone,
I am currently trying to get my SoftEther VPN Server to work properly and I can connect to it without any issues using my Windows PC.

However, I am having absolutely no luck at all with my Android phone.

I enabled the "L2TP over IPSec" function on the server (no Raw or EtherIP enabled).
In Android I set

Type: L2TP/IPSec PSK
Server adress: myname.softether.net
L2TP Key and IPSec identifier are empty
IPSec Pre-shared Key was entered
Username and Password as specified just like in the Windows client.

But not luck. Is this maybe because I am NOT using the port 443? If so, can I somehow specify the port to use on Android?

I would appreciate any help you can give me as the installation tutorial on the website was followed and Windows is working, but Android isn't.

Thank you all and have a nice day.
Alex

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Fri Oct 25, 2019 5:26 am

On android port 443 no use no way. Use vpnclient to connect from android

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 7:04 am

Ah, hmmm. Do you know of a vpnclient that is available for FireTV as well and does not need root privileges?
I wanted to try the depricated SoftEther VPN Client from the app store but it requires root.

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Fri Oct 25, 2019 9:18 am

I have rooted device, but I use my own compiled vpnclient.

Can you write me where is this client in APP store?

thanx

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 11:00 am

Hi,
of course: https://play.google.com/store/apps/deta ... vpn&hl=gsw


I also just tried if I could connect from a Windows computer outside my own LAN network and it works without any issues. Even tried a wifi hotspot on my Android phone and the Windows PC was able to connect through the Android Hotspot to the server.

So there clearly is a need for a proper Android app. I tried to find an app in the playstore but could not find any that will actually work with SoftEther :(

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Fri Oct 25, 2019 2:42 pm

Openvpn for Android works, but it uses port 1194 so main advantage of SE using port 443 is neglected

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Fri Oct 25, 2019 2:50 pm

Screenshot_20191025_164842_de.blinkt.openvpn.jpg
You do not have the required permissions to view the files attached to this post.

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 6:05 pm

Could you post the correct settings for me? Both for the server and the openvpn client?

MyronSz
Posts: 15
Joined: Mon Sep 16, 2019 7:34 pm

Re: Android connection fails with same settings as working Windows

Post by MyronSz » Fri Oct 25, 2019 6:17 pm

for IPSec on the router I forwarded port 500 UDP and port 4500 UDP the the IP address the SoftEther server is running on.

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 6:26 pm

In Softether or your router? Because my router does not support port forwarding.

I exported a opnv config and imported it into the app.

But it gets stuck on
20:23 UDP link remote: [AF_INET6]2a02:810d...rest of ip adress

The only error I see is
20:21 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.

Is this relevant or is there another issue?

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Fri Oct 25, 2019 6:27 pm

AleXSR700 wrote:
Fri Oct 25, 2019 6:05 pm
Could you post the correct settings for me? Both for the server and the openvpn client?
Sorry, I can not it is private data

For client you get config file from server using manager

You just need to set up server that is really trivial

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 7:03 pm

I did nor mean share your settings. Just tell me crucial settings to set.

As I said, mine is stuck.

Do you see anything that would explain why OpenVPN for Android won't connect?

Code: Select all

2019-10-25 20:19:25 offizielle Version 0.7.8 läuft auf samsung SM-G975F (universal9820), Android 9 (PPR1.180610.011) API 28, ABI arm64-v8a, (samsung/beyond2lteeea/beyond2:9/PPR1.180610.011/G975FXXS3ASII:user/release-keys)
2019-10-25 20:19:25 Generiere OpenVPN-Konfiguration…
2019-10-25 20:19:25 MANAGEMENT: CMD 'signal SIGINT'
2019-10-25 20:19:25 TCP/UDP: Closing socket
2019-10-25 20:19:25 SIGINT[hard,] received, process exiting
2019-10-25 20:19:25 MANAGEMENT: >STATE:1572027565,EXITING,SIGINT,,,,,
2019-10-25 20:19:27 started Socket Thread
2019-10-25 20:19:27 Netzwerkstatus: CONNECTED to WIFI
2019-10-25 20:19:27 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2019-10-25 20:19:27 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2019-10-25 20:19:27 Current Parameter Settings:
2019-10-25 20:19:27 config = '/data/user/0/de.blinkt.openvpn/cache/android.conf'
2019-10-25 20:19:27 mode = 0
2019-10-25 20:19:27 show_ciphers = DISABLED
2019-10-25 20:19:27 show_digests = DISABLED
2019-10-25 20:19:27 show_engines = DISABLED
2019-10-25 20:19:27 genkey = DISABLED
2019-10-25 20:19:27 key_pass_file = '[UNDEF]'
2019-10-25 20:19:27 show_tls_ciphers = DISABLED
2019-10-25 20:19:27 connect_retry_max = 0
2019-10-25 20:19:27 Connection profiles [0]:
2019-10-25 20:19:27 proto = udp
2019-10-25 20:19:27 local = '[UNDEF]'
2019-10-25 20:19:27 local_port = '[UNDEF]'
2019-10-25 20:19:27 remote = 'thatsme.softether.net'
2019-10-25 20:19:27 remote_port = '1194'
2019-10-25 20:19:27 remote_float = DISABLED
2019-10-25 20:19:27 bind_defined = DISABLED
2019-10-25 20:19:27 bind_local = DISABLED
2019-10-25 20:19:27 bind_ipv6_only = DISABLED
2019-10-25 20:19:27 connect_retry_seconds = 2
2019-10-25 20:19:27 connect_timeout = 120
2019-10-25 20:19:27 socks_proxy_server = '[UNDEF]'
2019-10-25 20:19:27 socks_proxy_port = '[UNDEF]'
2019-10-25 20:19:27 tun_mtu = 1500
2019-10-25 20:19:27 tun_mtu_defined = ENABLED
2019-10-25 20:19:27 link_mtu = 1500
2019-10-25 20:19:27 link_mtu_defined = DISABLED
2019-10-25 20:19:27 tun_mtu_extra = 0
2019-10-25 20:19:27 tun_mtu_extra_defined = DISABLED
2019-10-25 20:19:27 mtu_discover_type = -1
2019-10-25 20:19:27 fragment = 0
2019-10-25 20:19:27 mssfix = 1450
2019-10-25 20:19:27 explicit_exit_notification = 0
2019-10-25 20:19:27 tls_auth_file = '[UNDEF]'
2019-10-25 20:19:27 key_direction = not set
2019-10-25 20:19:27 tls_crypt_file = '[UNDEF]'
2019-10-25 20:19:27 tls_crypt_v2_file = '[UNDEF]'
2019-10-25 20:19:27 Connection profiles END
2019-10-25 20:19:27 remote_random = DISABLED
2019-10-25 20:19:27 ipchange = '[UNDEF]'
2019-10-25 20:19:27 Warte 0s Sekunden zwischen zwei Verbindungsversuchen
2019-10-25 20:19:27 dev = 'tun'
2019-10-25 20:19:27 dev_type = '[UNDEF]'
2019-10-25 20:19:27 dev_node = '[UNDEF]'
2019-10-25 20:19:27 lladdr = '[UNDEF]'
2019-10-25 20:19:27 topology = 1
2019-10-25 20:19:27 ifconfig_local = '[UNDEF]'
2019-10-25 20:19:27 ifconfig_remote_netmask = '[UNDEF]'
2019-10-25 20:19:27 ifconfig_noexec = DISABLED
2019-10-25 20:19:27 ifconfig_nowarn = ENABLED
2019-10-25 20:19:27 ifconfig_ipv6_local = '[UNDEF]'
2019-10-25 20:19:27 ifconfig_ipv6_netbits = 0
2019-10-25 20:19:27 ifconfig_ipv6_remote = '[UNDEF]'
2019-10-25 20:19:27 shaper = 0
2019-10-25 20:19:27 mtu_test = 0
2019-10-25 20:19:27 mlock = DISABLED
2019-10-25 20:19:27 keepalive_ping = 0
2019-10-25 20:19:27 keepalive_timeout = 0
2019-10-25 20:19:27 inactivity_timeout = 0
2019-10-25 20:19:27 ping_send_timeout = 0
2019-10-25 20:19:27 ping_rec_timeout = 0
2019-10-25 20:19:27 ping_rec_timeout_action = 0
2019-10-25 20:19:27 ping_timer_remote = DISABLED
2019-10-25 20:19:27 remap_sigusr1 = 0
2019-10-25 20:19:27 persist_tun = ENABLED
2019-10-25 20:19:27 persist_local_ip = DISABLED
2019-10-25 20:19:27 persist_remote_ip = DISABLED
2019-10-25 20:19:27 persist_key = DISABLED
2019-10-25 20:19:27 passtos = DISABLED
2019-10-25 20:19:27 resolve_retry_seconds = 1000000000
2019-10-25 20:19:27 resolve_in_advance = ENABLED
2019-10-25 20:19:27 username = '[UNDEF]'
2019-10-25 20:19:27 groupname = '[UNDEF]'
2019-10-25 20:19:27 chroot_dir = '[UNDEF]'
2019-10-25 20:19:27 cd_dir = '[UNDEF]'
2019-10-25 20:19:27 writepid = '[UNDEF]'
2019-10-25 20:19:27 up_script = '[UNDEF]'
2019-10-25 20:19:27 down_script = '[UNDEF]'
2019-10-25 20:19:27 down_pre = DISABLED
2019-10-25 20:19:27 up_restart = DISABLED
2019-10-25 20:19:27 up_delay = DISABLED
2019-10-25 20:19:27 daemon = DISABLED
2019-10-25 20:19:27 inetd = 0
2019-10-25 20:19:27 log = DISABLED
2019-10-25 20:19:27 suppress_timestamps = DISABLED
2019-10-25 20:19:27 machine_readable_output = ENABLED
2019-10-25 20:19:27 nice = 0
2019-10-25 20:19:27 verbosity = 4
2019-10-25 20:19:27 mute = 0
2019-10-25 20:19:27 gremlin = 0
2019-10-25 20:19:27 status_file = '[UNDEF]'
2019-10-25 20:19:27 status_file_version = 1
2019-10-25 20:19:27 status_file_update_freq = 60
2019-10-25 20:19:27 occ = ENABLED
2019-10-25 20:19:27 rcvbuf = 0
2019-10-25 20:19:27 sndbuf = 0
2019-10-25 20:19:27 sockflags = 0
2019-10-25 20:19:27 fast_io = DISABLED
2019-10-25 20:19:27 comp.alg = 0
2019-10-25 20:19:27 comp.flags = 0
2019-10-25 20:19:27 route_script = '[UNDEF]'
2019-10-25 20:19:27 route_default_gateway = '[UNDEF]'
2019-10-25 20:19:27 route_default_metric = 0
2019-10-25 20:19:27 route_noexec = DISABLED
2019-10-25 20:19:27 route_delay = 0
2019-10-25 20:19:27 route_delay_window = 30
2019-10-25 20:19:27 route_delay_defined = DISABLED
2019-10-25 20:19:27 route_nopull = DISABLED
2019-10-25 20:19:27 route_gateway_via_dhcp = DISABLED
2019-10-25 20:19:27 allow_pull_fqdn = DISABLED
2019-10-25 20:19:27 management_addr = '/data/user/0/de.blinkt.openvpn/cache/mgmtsocket'
2019-10-25 20:19:27 management_port = 'unix'
2019-10-25 20:19:27 management_user_pass = '[UNDEF]'
2019-10-25 20:19:27 management_log_history_cache = 250
2019-10-25 20:19:27 management_echo_buffer_size = 100
2019-10-25 20:19:27 management_write_peer_info_file = '[UNDEF]'
2019-10-25 20:19:27 management_client_user = '[UNDEF]'
2019-10-25 20:19:27 management_client_group = '[UNDEF]'
2019-10-25 20:19:27 management_flags = 16678
2019-10-25 20:19:27 shared_secret_file = '[UNDEF]'
2019-10-25 20:19:27 key_direction = not set
2019-10-25 20:19:27 ciphername = 'AES-128-CBC'
2019-10-25 20:19:27 ncp_enabled = ENABLED
2019-10-25 20:19:27 ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
2019-10-25 20:19:27 authname = 'SHA1'
2019-10-25 20:19:27 prng_hash = 'SHA1'
2019-10-25 20:19:27 prng_nonce_secret_len = 16
2019-10-25 20:19:27 keysize = 0
2019-10-25 20:19:27 engine = DISABLED
2019-10-25 20:19:27 replay = ENABLED
2019-10-25 20:19:27 mute_replay_warnings = DISABLED
2019-10-25 20:19:27 replay_window = 64
2019-10-25 20:19:27 replay_time = 15
2019-10-25 20:19:27 packet_id_file = '[UNDEF]'
2019-10-25 20:19:27 test_crypto = DISABLED
2019-10-25 20:19:27 tls_server = DISABLED
2019-10-25 20:19:27 tls_client = ENABLED
2019-10-25 20:19:27 key_method = 2
2019-10-25 20:19:27 ca_file = '[[INLINE]]'
2019-10-25 20:19:27 ca_path = '[UNDEF]'
2019-10-25 20:19:27 dh_file = '[UNDEF]'
2019-10-25 20:19:27 cert_file = '[[INLINE]]'
2019-10-25 20:19:27 extra_certs_file = '[UNDEF]'
2019-10-25 20:19:27 priv_key_file = '[[INLINE]]'
2019-10-25 20:19:27 pkcs12_file = '[UNDEF]'
2019-10-25 20:19:27 cipher_list = '[UNDEF]'
2019-10-25 20:19:27 cipher_list_tls13 = '[UNDEF]'
2019-10-25 20:19:27 tls_cert_profile = '[UNDEF]'
2019-10-25 20:19:27 tls_verify = '[UNDEF]'
2019-10-25 20:19:27 tls_export_cert = '[UNDEF]'
2019-10-25 20:19:27 verify_x509_type = 0
2019-10-25 20:19:27 verify_x509_name = '[UNDEF]'
2019-10-25 20:19:27 crl_file = '[UNDEF]'
2019-10-25 20:19:27 ns_cert_type = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_ku[i] = 0
2019-10-25 20:19:27 remote_cert_eku = '[UNDEF]'
2019-10-25 20:19:27 ssl_flags = 0
2019-10-25 20:19:27 tls_timeout = 2
2019-10-25 20:19:27 renegotiate_bytes = -1
2019-10-25 20:19:27 renegotiate_packets = 0
2019-10-25 20:19:27 renegotiate_seconds = 3600
2019-10-25 20:19:27 handshake_window = 60
2019-10-25 20:19:27 transition_window = 3600
2019-10-25 20:19:27 single_session = DISABLED
2019-10-25 20:19:27 push_peer_info = DISABLED
2019-10-25 20:19:27 tls_exit = DISABLED
2019-10-25 20:19:27 tls_crypt_v2_genkey_type = '[UNDEF]'
2019-10-25 20:19:27 tls_crypt_v2_genkey_file = '[UNDEF]'
2019-10-25 20:19:27 tls_crypt_v2_metadata = '[UNDEF]'
2019-10-25 20:19:27 client = ENABLED
2019-10-25 20:19:27 pull = ENABLED
2019-10-25 20:19:27 auth_user_pass_file = 'stdin'
2019-10-25 20:19:27 OpenVPN 2.5-icsopenvpn [git:icsopenvpn/v0.7.8-0-g168367a5] arm64-v8a [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 22 2019
2019-10-25 20:19:27 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
2019-10-25 20:19:27 MANAGEMENT: Connected to management server at /data/user/0/de.blinkt.openvpn/cache/mgmtsocket
2019-10-25 20:19:27 MANAGEMENT: CMD 'version 3'
2019-10-25 20:19:27 MANAGEMENT: CMD 'hold release'
2019-10-25 20:19:27 MANAGEMENT: CMD 'username 'Auth' thatsme2509'
2019-10-25 20:19:27 MANAGEMENT: CMD 'bytecount 2'
2019-10-25 20:19:27 MANAGEMENT: CMD 'password [...]'
2019-10-25 20:19:28 MANAGEMENT: CMD 'state on'
2019-10-25 20:19:28 MANAGEMENT: CMD 'proxy NONE'
2019-10-25 20:19:29 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2019-10-25 20:19:29 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
2019-10-25 20:19:29 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2019-10-25 20:19:29 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
2019-10-25 20:19:29 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
2019-10-25 20:19:29 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a02:0215:903f:1578:5ef4:abff:5935:cbd4:1194
2019-10-25 20:19:29 Socket Buffers: R=[262144->262144] S=[262144->262144]
2019-10-25 20:19:29 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2019-10-25 20:19:29 UDP link local: (not bound)
2019-10-25 20:19:29 UDP link remote: [AF_INET6]2a02:0215:903f:1578:5ef4:abff:5935:cbd4:1194
2019-10-25 20:19:29 MANAGEMENT: >STATE:1572027569,WAIT,,,,,,
I now also tried using TCP instead of UDP, but get another, different error.

Code: Select all

2019-10-25 22:46:02 Attempting to establish TCP connection with [AF_INET]95.93.215.142:1194:1194 [nonblock]
2019-10-25 22:46:02 MANAGEMENT: >STATE:1572036362,TCP_CONNECT,,,,,,
2019-10-25 22:46:02 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
And another try, this time

Code: Select all

2019-10-25 22:58:35 offizielle Version 0.7.8 läuft auf samsung SM-G975F (universal9820), Android 9 (PPR1.180610.011) API 28, ABI arm64-v8a, (samsung/beyond2lteeea/beyond2:9/PPR1.180610.011/G975FXXS3ASII:user/release-keys)
2019-10-25 22:58:35 Generiere OpenVPN-Konfiguration…
2019-10-25 22:58:35 started Socket Thread
2019-10-25 22:58:35 Netzwerkstatus: CONNECTED to WIFI
2019-10-25 22:58:35 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2019-10-25 22:58:35 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2019-10-25 22:58:35 Current Parameter Settings:
2019-10-25 22:58:35 config = '/data/user/0/de.blinkt.openvpn/cache/android.conf'
2019-10-25 22:58:35 mode = 0
2019-10-25 22:58:35 show_ciphers = DISABLED
2019-10-25 22:58:35 show_digests = DISABLED
2019-10-25 22:58:35 show_engines = DISABLED
2019-10-25 22:58:35 genkey = DISABLED
2019-10-25 22:58:35 key_pass_file = '[UNDEF]'
2019-10-25 22:58:35 show_tls_ciphers = DISABLED
2019-10-25 22:58:35 connect_retry_max = 0
2019-10-25 22:58:35 Connection profiles [0]:
2019-10-25 22:58:35 proto = tcp-client
2019-10-25 22:58:35 local = '[UNDEF]'
2019-10-25 22:58:35 local_port = '[UNDEF]'
2019-10-25 22:58:35 remote = 'thatsme.softether.net'
2019-10-25 22:58:35 remote_port = '5555'
2019-10-25 22:58:35 remote_float = DISABLED
2019-10-25 22:58:35 bind_defined = DISABLED
2019-10-25 22:58:35 bind_local = DISABLED
2019-10-25 22:58:35 bind_ipv6_only = DISABLED
2019-10-25 22:58:35 connect_retry_seconds = 2
2019-10-25 22:58:35 connect_timeout = 120
2019-10-25 22:58:35 socks_proxy_server = '[UNDEF]'
2019-10-25 22:58:35 socks_proxy_port = '[UNDEF]'
2019-10-25 22:58:35 tun_mtu = 1500
2019-10-25 22:58:35 tun_mtu_defined = ENABLED
2019-10-25 22:58:35 link_mtu = 1500
2019-10-25 22:58:35 link_mtu_defined = DISABLED
2019-10-25 22:58:35 tun_mtu_extra = 0
2019-10-25 22:58:35 tun_mtu_extra_defined = DISABLED
2019-10-25 22:58:35 mtu_discover_type = -1
2019-10-25 22:58:35 fragment = 0
2019-10-25 22:58:35 mssfix = 1450
2019-10-25 22:58:35 explicit_exit_notification = 0
2019-10-25 22:58:35 tls_auth_file = '[UNDEF]'
2019-10-25 22:58:35 key_direction = not set
2019-10-25 22:58:35 tls_crypt_file = '[UNDEF]'
2019-10-25 22:58:35 tls_crypt_v2_file = '[UNDEF]'
2019-10-25 22:58:35 Connection profiles END
2019-10-25 22:58:35 remote_random = DISABLED
2019-10-25 22:58:35 ipchange = '[UNDEF]'
2019-10-25 22:58:35 dev = 'tun'
2019-10-25 22:58:35 dev_type = '[UNDEF]'
2019-10-25 22:58:35 dev_node = '[UNDEF]'
2019-10-25 22:58:35 lladdr = '[UNDEF]'
2019-10-25 22:58:35 topology = 1
2019-10-25 22:58:35 ifconfig_local = '[UNDEF]'
2019-10-25 22:58:35 ifconfig_remote_netmask = '[UNDEF]'
2019-10-25 22:58:35 ifconfig_noexec = DISABLED
2019-10-25 22:58:35 ifconfig_nowarn = ENABLED
2019-10-25 22:58:35 Warte 0s Sekunden zwischen zwei Verbindungsversuchen
2019-10-25 22:58:35 ifconfig_ipv6_local = '[UNDEF]'
2019-10-25 22:58:35 ifconfig_ipv6_netbits = 0
2019-10-25 22:58:35 ifconfig_ipv6_remote = '[UNDEF]'
2019-10-25 22:58:35 shaper = 0
2019-10-25 22:58:35 mtu_test = 0
2019-10-25 22:58:35 mlock = DISABLED
2019-10-25 22:58:35 keepalive_ping = 0
2019-10-25 22:58:35 keepalive_timeout = 0
2019-10-25 22:58:35 inactivity_timeout = 0
2019-10-25 22:58:35 ping_send_timeout = 0
2019-10-25 22:58:35 ping_rec_timeout = 0
2019-10-25 22:58:35 ping_rec_timeout_action = 0
2019-10-25 22:58:35 ping_timer_remote = DISABLED
2019-10-25 22:58:35 remap_sigusr1 = 0
2019-10-25 22:58:35 persist_tun = ENABLED
2019-10-25 22:58:35 persist_local_ip = DISABLED
2019-10-25 22:58:35 persist_remote_ip = DISABLED
2019-10-25 22:58:35 persist_key = DISABLED
2019-10-25 22:58:35 passtos = DISABLED
2019-10-25 22:58:35 resolve_retry_seconds = 1000000000
2019-10-25 22:58:35 resolve_in_advance = ENABLED
2019-10-25 22:58:35 username = '[UNDEF]'
2019-10-25 22:58:35 groupname = '[UNDEF]'
2019-10-25 22:58:35 chroot_dir = '[UNDEF]'
2019-10-25 22:58:35 cd_dir = '[UNDEF]'
2019-10-25 22:58:35 writepid = '[UNDEF]'
2019-10-25 22:58:35 up_script = '[UNDEF]'
2019-10-25 22:58:35 down_script = '[UNDEF]'
2019-10-25 22:58:35 down_pre = DISABLED
2019-10-25 22:58:35 up_restart = DISABLED
2019-10-25 22:58:35 up_delay = DISABLED
2019-10-25 22:58:35 daemon = DISABLED
2019-10-25 22:58:35 inetd = 0
2019-10-25 22:58:35 log = DISABLED
2019-10-25 22:58:35 suppress_timestamps = DISABLED
2019-10-25 22:58:35 machine_readable_output = ENABLED
2019-10-25 22:58:35 nice = 0
2019-10-25 22:58:35 verbosity = 4
2019-10-25 22:58:35 mute = 0
2019-10-25 22:58:35 gremlin = 0
2019-10-25 22:58:35 status_file = '[UNDEF]'
2019-10-25 22:58:35 status_file_version = 1
2019-10-25 22:58:35 status_file_update_freq = 60
2019-10-25 22:58:35 occ = ENABLED
2019-10-25 22:58:35 rcvbuf = 0
2019-10-25 22:58:35 sndbuf = 0
2019-10-25 22:58:35 sockflags = 0
2019-10-25 22:58:35 fast_io = DISABLED
2019-10-25 22:58:35 comp.alg = 0
2019-10-25 22:58:35 comp.flags = 0
2019-10-25 22:58:35 route_script = '[UNDEF]'
2019-10-25 22:58:35 route_default_gateway = '[UNDEF]'
2019-10-25 22:58:35 route_default_metric = 0
2019-10-25 22:58:35 route_noexec = DISABLED
2019-10-25 22:58:35 route_delay = 0
2019-10-25 22:58:35 route_delay_window = 30
2019-10-25 22:58:35 route_delay_defined = DISABLED
2019-10-25 22:58:35 route_nopull = DISABLED
2019-10-25 22:58:35 route_gateway_via_dhcp = DISABLED
2019-10-25 22:58:35 allow_pull_fqdn = DISABLED
2019-10-25 22:58:35 management_addr = '/data/user/0/de.blinkt.openvpn/cache/mgmtsocket'
2019-10-25 22:58:35 management_port = 'unix'
2019-10-25 22:58:35 management_user_pass = '[UNDEF]'
2019-10-25 22:58:35 management_log_history_cache = 250
2019-10-25 22:58:35 management_echo_buffer_size = 100
2019-10-25 22:58:35 management_write_peer_info_file = '[UNDEF]'
2019-10-25 22:58:35 management_client_user = '[UNDEF]'
2019-10-25 22:58:35 management_client_group = '[UNDEF]'
2019-10-25 22:58:35 management_flags = 16678
2019-10-25 22:58:35 shared_secret_file = '[UNDEF]'
2019-10-25 22:58:35 key_direction = not set
2019-10-25 22:58:35 ciphername = 'AES-128-CBC'
2019-10-25 22:58:35 ncp_enabled = ENABLED
2019-10-25 22:58:35 ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
2019-10-25 22:58:35 authname = 'SHA1'
2019-10-25 22:58:35 prng_hash = 'SHA1'
2019-10-25 22:58:35 prng_nonce_secret_len = 16
2019-10-25 22:58:35 keysize = 0
2019-10-25 22:58:35 engine = DISABLED
2019-10-25 22:58:35 replay = ENABLED
2019-10-25 22:58:35 mute_replay_warnings = DISABLED
2019-10-25 22:58:35 replay_window = 64
2019-10-25 22:58:35 replay_time = 15
2019-10-25 22:58:35 packet_id_file = '[UNDEF]'
2019-10-25 22:58:35 test_crypto = DISABLED
2019-10-25 22:58:35 tls_server = DISABLED
2019-10-25 22:58:35 tls_client = ENABLED
2019-10-25 22:58:35 key_method = 2
2019-10-25 22:58:35 ca_file = '[[INLINE]]'
2019-10-25 22:58:35 ca_path = '[UNDEF]'
2019-10-25 22:58:35 dh_file = '[UNDEF]'
2019-10-25 22:58:35 cert_file = '[[INLINE]]'
2019-10-25 22:58:35 extra_certs_file = '[UNDEF]'
2019-10-25 22:58:35 priv_key_file = '[[INLINE]]'
2019-10-25 22:58:35 pkcs12_file = '[UNDEF]'
2019-10-25 22:58:35 cipher_list = '[UNDEF]'
2019-10-25 22:58:35 cipher_list_tls13 = '[UNDEF]'
2019-10-25 22:58:35 tls_cert_profile = '[UNDEF]'
2019-10-25 22:58:35 tls_verify = '[UNDEF]'
2019-10-25 22:58:35 tls_export_cert = '[UNDEF]'
2019-10-25 22:58:35 verify_x509_type = 0
2019-10-25 22:58:35 verify_x509_name = '[UNDEF]'
2019-10-25 22:58:35 crl_file = '[UNDEF]'
2019-10-25 22:58:35 ns_cert_type = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_ku[i] = 0
2019-10-25 22:58:35 remote_cert_eku = '[UNDEF]'
2019-10-25 22:58:35 ssl_flags = 0
2019-10-25 22:58:35 tls_timeout = 2
2019-10-25 22:58:35 renegotiate_bytes = -1
2019-10-25 22:58:35 renegotiate_packets = 0
2019-10-25 22:58:35 renegotiate_seconds = 3600
2019-10-25 22:58:35 handshake_window = 60
2019-10-25 22:58:35 transition_window = 3600
2019-10-25 22:58:35 single_session = DISABLED
2019-10-25 22:58:35 push_peer_info = DISABLED
2019-10-25 22:58:35 tls_exit = DISABLED
2019-10-25 22:58:35 tls_crypt_v2_genkey_type = '[UNDEF]'
2019-10-25 22:58:35 tls_crypt_v2_genkey_file = '[UNDEF]'
2019-10-25 22:58:35 tls_crypt_v2_metadata = '[UNDEF]'
2019-10-25 22:58:35 client = ENABLED
2019-10-25 22:58:35 pull = ENABLED
2019-10-25 22:58:35 auth_user_pass_file = 'stdin'
2019-10-25 22:58:35 OpenVPN 2.5-icsopenvpn [git:icsopenvpn/v0.7.8-0-g168367a5] arm64-v8a [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 22 2019
2019-10-25 22:58:35 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
2019-10-25 22:58:35 MANAGEMENT: Connected to management server at /data/user/0/de.blinkt.openvpn/cache/mgmtsocket
2019-10-25 22:58:35 MANAGEMENT: CMD 'version 3'
2019-10-25 22:58:35 MANAGEMENT: CMD 'hold release'
2019-10-25 22:58:35 MANAGEMENT: CMD 'username 'Auth' thatsme2509'
2019-10-25 22:58:35 MANAGEMENT: CMD 'bytecount 2'
2019-10-25 22:58:35 MANAGEMENT: CMD 'password [...]'
2019-10-25 22:58:36 MANAGEMENT: CMD 'state on'
2019-10-25 22:58:36 MANAGEMENT: CMD 'proxy NONE'
2019-10-25 22:58:37 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2019-10-25 22:58:37 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2019-10-25 22:58:37 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2019-10-25 22:58:37 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
2019-10-25 22:58:37 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
2019-10-25 22:58:37 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a02:6666:903f:1578:5ef4:abff:5935:cbd4:5555
2019-10-25 22:58:37 Socket Buffers: R=[1048576->1048576] S=[1048576->1048576]
2019-10-25 22:58:37 Attempting to establish TCP connection with [AF_INET6]2a02:6666:903f:1578:5ef4:abff:5935:cbd4:5555 [nonblock]
2019-10-25 22:58:37 MANAGEMENT: >STATE:1572037117,TCP_CONNECT,,,,,,
2019-10-25 22:58:37 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2019-10-25 22:58:41 TCP: connect to [AF_INET6]2a02:6666:903f:1578:5ef4:abff:5935:cbd4:5555 failed: No route to host
2019-10-25 22:58:41 SIGUSR1[connection failed(soft),init_instance] received, process restarting
2019-10-25 22:58:41 MANAGEMENT: >STATE:1572037121,RECONNECTING,init_instance,,,,,
2019-10-25 22:58:41 Warte 2s Sekunden zwischen zwei Verbindungsversuchen
2019-10-25 22:58:43 MANAGEMENT: CMD 'hold release'
2019-10-25 22:58:43 MANAGEMENT: CMD 'proxy NONE'
2019-10-25 22:58:43 MANAGEMENT: CMD 'bytecount 2'
2019-10-25 22:58:43 MANAGEMENT: CMD 'state on'

P.S.: Yes, I did alter the IP adresses etc.

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Fri Oct 25, 2019 7:28 pm

double post, sorry
Last edited by AleXSR700 on Sat Oct 26, 2019 7:02 am, edited 1 time in total.

sky59
Posts: 237
Joined: Tue Sep 11, 2018 5:58 pm

Re: Android connection fails with same settings as working Windows

Post by sky59 » Sat Oct 26, 2019 4:20 am

My android uses ipv4 but in your case I can see ipv6

Can you try older android device?

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Sat Oct 26, 2019 7:01 am

My Android phone uses IPv4 in the home network. And IPv6 when connected to the mobile network.

But my home ISP is a cable provider using DS-Lite.

But it works from my Windows notebook tunneling through my phone via SoftEther VPN client.

Why is it that there is no Android Client? I think this would be so much easier and cleaner :-(

AleXSR700
Posts: 10
Joined: Wed Oct 16, 2019 7:35 am

Re: Android connection fails with same settings as working Windows

Post by AleXSR700 » Sat Oct 26, 2019 8:38 pm

I finally got it to work by giving my server an IPv6 address and forcing the v6 on the Dynamic DNS. Seems like that's the only way to get it to work without the SoftEther client. Strange to me why OpenVPN needs this v6 limitation and SoftEther client does not.

Post Reply