Hey,

I just realized that I did not paste the error message and I came a bit
further with my problems. So once again:

1) Under the latest Version of KitKat (Android 4.4.2), I manage to connect
to my VPN Server and browsing the internet works, but if I try to
disconnect and reconnect again, at some point, I get the following error
and no VPN Connection works again until I restart my phone:

java.lang.IllegalStateException: command '729 interface fwmark rule add
tun0' failed with '400 729 Failed to add fwmark rule (Device or resource
busy)'
... at VpnService.Builder.establish()
builder: failed to build TUN device
failed to setup TUN device

Basically, the VpnServiceBuilder fails to open a new TUN device in the call
to establish(). This happens after the 5-10th connection on some devices
and after the 30th connection on some others. So basically,
non-deterministic behaviour.

2) I had the problem that VPN over 3G would not work with some devices and
some telephony providers. But I realized that it was actually a Server
problem and fixed that. The problem was that the Strongswan VPN Server was
not configured to automatically push the DNS info to the client.

Do you have any ideas on how to recover from a failed call to
VpnService.Builder.established()?

Any help will be greatly appreciated.

Thank you,

Stefan





On Fri, Feb 14, 2014 at 5:52 PM, Stefan Anca <[email protected]> wrote:

> Hi guys,
>
> I set up a Strongswan VPN Server recently and tried connecting from the
> Android Client App to it with IKEv2 EAP. The connection seems to work fine,
> however I have two problems:
>
> 1) Under the latest Version of KitKat (Android 4.4.2), the connection is
> established but as soon as I try to surf the web in a browser, I get an
> error of
>
> 2) If I connect to the server with 3G, I don't receive any packets at all.
> Could this be a badly configured server? Maybe limitations of my telephony
> provider? Have you guys encountered such problems before? I managed to ping
> a certain IP in the terminal on the device, but no domains and browsing
> does not work at all.
>
> I tested on Android 4.1.2 (Samsung Galaxy S2, Nexus S) and Android
> 4.4.2(Nexus 5).
>
> Any ideas?
>
> Thanks a lot for your help,
>
> Stefan
>
>
>
_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to