Page 1 of 1

Vpn Access to selected apps in Android 4.x

Posted: Mon Oct 17, 2016 3:24 am
by pravin27
Is their any way to block network access of certain apps by not forwarding the packets to the vpn server? I wanted to allow access to only few apps and apps which are not in the list should not have access to the network. Is it possible? Its much like how NetGuard works.

Basically we are looking for a solution described in the following thread,
https://github.com/schwabe/ics-openvpn/issues/418

But without the UI.

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 8:56 am
by pravin27
No reply from 2 days

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 10:13 am
by TinCanTech
Your link takes you directly to the Android developer, who has provided you the answer.

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 10:56 am
by pravin27
Thanks for the reply. I already talked to him and he has removed the integration. Can you please give me a pointer where to start?

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 10:57 am
by TinCanTech
Where to start what ?

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 11:06 am
by pravin27
I have configured ics-openvpn on my machine with openvpn.
Openvpn code is huge and I am not able to understand where to make the change to block packets from the blocked apps.

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 11:56 am
by TinCanTech
:shock: Are you trying to change the ics-openvpn source code ?

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 1:06 pm
by pravin27
yes. Thats what I wanted.

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 1:12 pm
by pravin27
Actually not ics-open but the c openvpn code. Can you tell me where to make a change?

Re: Vpn Access to selected apps in Android 4.x

Posted: Wed Oct 19, 2016 4:13 pm
by TinCanTech
Do you know how to program in C ?