Can't connect to VPN with my android.

Post your questions about VPN Gate Academic Experiment Service here. Please answer questions if you can afford.
Post Reply
Posts: 1
Joined: Fri Nov 18, 2016 4:55 am

Can't connect to VPN with my android.

Post by altnob » Fri Nov 18, 2016 4:56 am

I setup a VPN client using softether server and then I used the softether client to connect to it on my PC. It worked. However, I when I try to connect to my VPN using my Android Samsung Galaxy S4 active it always says unsuccessful.

Posts: 62
Joined: Sun Jan 24, 2016 4:27 pm

Re: Can't connect to VPN with my android.

Post by mlsjwr » Sat Nov 19, 2016 11:50 pm

Do You have 500 and 4500 udp port forwarded to Your serever?

You need it,
and password, address, port, ipsec pre shared key
working local brdige to get IP

If You have all of them, You should be able to connect

have a nice day

Posts: 3
Joined: Fri Sep 16, 2016 8:20 pm

Re: Can't connect to VPN with my android.

Post by djago » Mon Jan 09, 2017 12:05 am

Same here. S5 with Android 6.0.1. Ports are forwarded and all other req are met. Any clue?

Posts: 1
Joined: Tue Jan 17, 2017 5:16 am

Re: Can't connect to VPN with my android.

Post by phobos » Tue Jan 17, 2017 5:21 am

Same here. There seems to be lots of problems with L2TP VPN working on Android 6.01.

I have an old samsung S4 with an older version of Android and the VPN client works perfectly. On my newer Android 6.0.1 device i just can't get it to connect. My apple PC connects fine too so I suspect the server is good.

I found this as a work around. Is there a way on softether server to put in these new SHA2 parameters.

""As others have noted, the SHA2 parameters used by default in Linux are incompatible with RFC-compliant implementations. This code is in the Linux kernel, not in Android, so the behaviour can vary across different manufacturers and across different devices from the same manufacturer.

Because this is an incompatibility issue, there is no easy solution here other than reconfiguring the server to change the SHA2 parameters (e.g., via "sha2-truncbug=yes") or by disabling SHA2. For example:

- Disabling SHA2 in the Android VPN client will break currently-working setups that use SHA2.
- Changing the default SHA2 parameters on individual devices will make some VPN currently-broken setups start working, but will break some currently-broken setups.
- Adding a setting to change the parameters at runtime is non-trivial due to the way the client is structured.

Eventually, Android will adopt the RFC behaviour, but changing the default in a minor OS update is likely unacceptable because it will break existing setups.""

Posts: 3
Joined: Tue Feb 21, 2017 3:41 am

Re: Can't connect to VPN with my android.

Post by Naveen » Sun Feb 26, 2017 2:31 pm

I could connect my Nexus 5 (6.0.1 ) to softh ether .make sure ur vpn server and phone are on same network . try to ping from ur phone to server first .(use PIngTools from playstore )

Please follow below steps

1.Name : any name u can giv
3.Server address: VPN server IP
4.L2TP : not used
5.IPSec Identifier :not used
6.IPsec pre shared -key : present in Softether VPN server settings (IPSec/L2TP setting)
7.DNS search domains ,DNS Servers : not used
8.Forwarding routes:
and Save.

Click on ur vpn connection enter user and password that u created in VPN server Manager .

If it is unsuccesfull,go to VPN server manager goto ur VPN hub settings and click on Virtual NAT and Virtual DHCP server ..and enable secure NAT .

Then try again from ur phone.

Let me know if u face any issues still ..

Post Reply