Vpn Access to selected apps in Android 4.x

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

Vpn Access to selected apps in Android 4.x

Post by pravin27 » Mon Oct 17, 2016 3:24 am

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.

pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

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

Post by pravin27 » Wed Oct 19, 2016 8:56 am

No reply from 2 days

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Oct 19, 2016 10:13 am

Your link takes you directly to the Android developer, who has provided you the answer.

pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

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

Post by pravin27 » Wed Oct 19, 2016 10:56 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Oct 19, 2016 10:57 am

Where to start what ?

pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

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

Post by pravin27 » Wed Oct 19, 2016 11:06 am

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Oct 19, 2016 11:56 am

:shock: Are you trying to change the ics-openvpn source code ?

pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

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

Post by pravin27 » Wed Oct 19, 2016 1:06 pm

yes. Thats what I wanted.

pravin27
OpenVpn Newbie
Posts: 6
Joined: Mon Oct 17, 2016 3:19 am

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

Post by pravin27 » Wed Oct 19, 2016 1:12 pm

Actually not ics-open but the c openvpn code. Can you tell me where to make a change?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Wed Oct 19, 2016 4:13 pm

Do you know how to program in C ?

Post Reply