Ξ welcome to cryptostorm's member forums ~ you don't have to be a cryptostorm member to post here Ξ
Ξ any OpenVPN configs found on the forum are likely outdated. For the latest, visit here or GitHub Ξ
Ξ If you're looking for tutorials/guides, check out the new https://cryptostorm.is/#section6 Ξ

VPN-Only connections - Android

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter the letters that are written in red.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbdown: :thumbup: :wave: :wtf: :yawn:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: VPN-Only connections - Android

Re: VPN-Only connections - Android

Post by demario1289 » Sat Oct 04, 2014 7:04 am

@marzametal

Thanks man, I'll take a look on this AFWALL

@Tealc

I'm using the OpenVPN app :)
I have the Persistent Tun ON ... so you're saying if BEFORE I connect to the Wifi network, if I first open the OpenVPN app and try to connect to the profile (of course it will not, it will hold until a usuable network appears), the OpenVPN app will block the connections until the VPN connects? If so, my problem is solved, I just need to run OpenVPN first and try to connect offline, and then turn on the Wifi network :-)

EDIT:

I could make it work using AFWall+ ... just enabled the VPN support and now with the firewall turned on, my connections will be established just when the VPN connects ... thanks for you all!

Re: VPN-Only connections - Android

Post by Tealc » Sat Oct 04, 2014 12:39 am

@OP

Actually OpenVPN has an option under the settings profile called "Persistent TUN", if this is on and assuming that you automatically start the OpenVPN app, it will not connect to the internet without the VPN connection.

But has always I use AFWALL and just block all traffic outside the VPN app :-D
Btw just read the extensive topic from here: viewtopic.php?f=45&t=6174
We have discussed this very well :-D


Question:
Just to get a sense in something, you are actually running a VPN connection to CS with the default vpn manager from android? You are NOT using OpenVPN?

Re: VPN-Only connections - Android

Post by marzametal » Fri Oct 03, 2014 9:48 am

It sounds to me like you should try out a firewall (hang on, you already have, DroidWall... not familiar with it) for your device. One has been already recommended by a dedicated user, along with a tutorial. It can be configured to only allow OpenVPN to use upstream/downstream, while the rest can be ticked to only run under the VPN. To double check if it works, enable your firewall log via this app and you will be surprised what is trying to communicate to the outside world. Hell, even TORCH does, you know... that app that friggin' turns your phone into a Disco Stu strobe light!!!

Give this a shot: AFWall+ (control network traffic)

If you have managed to successfully connect to the darknet with Post-Heartbleed files, then you can skip looking at this: 4 easy steps to connect your Android with OpenVPN
This one is for AFWall+: LEAKBLOCK HOWTO (Android and Ubuntu)
However, in Android (step 2), I keep ticks for OpenVPN (up/down + VPN) as shown, but for VPN networking have managed to see it work with only VPN category ticked (up/down not ticked as shown in picture).

See if that helps out your cause dude...

VPN-Only connections - Android

Post by demario1289 » Thu Oct 02, 2014 11:33 pm

Hi there.

I've purchased 1 month token to test your service that I've just found on the internet, and I'm really impressed by it so far! Almost sure that I'll purchase 1-year token later.
The only thing I want to be 100% happy is to know if there is a way to only allow my mobile to reach the internet if I'm connected to Cryptostorm VPN.

I heard a feature called "Always-ON", but seems like you can only enable it if you setup your VPN in the native android vpn manager, not by third apps like OpenVPN.
Is there a solution for this? I tried to use DroidWall to block connections in case I'm not connected to the VPN (using some custom scripts I found on Google) but nothing worked so far.

I really need it because I'm always connecting my mobile in public hotspots, but when I connect on the wifi, before I even open the OpenVPN app, my mobile already download all its stuff quickly ... that's why I need to find a way to ONLY allow internet connection in my mobile if I'm connected to the VPN.

Thanks! you guys are amazing!

Top

cron
Nothing to display.

Login