amulyave / sandrop

Automatically exported from code.google.com/p/sandrop
0 stars 0 forks source link

Creating a VPN Connection Instead of Proxying #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With the option to tunnel whole devices on androids 4 an up, isn't it more 
practical to create a VPN connection after connecting to the given proxy? This 
will tunnel the whole device including applications such as WhatsApp or Viber, 
etc.

Original issue reported on code.google.com by bahra...@gmail.com on 16 Aug 2013 at 10:34

GoogleCodeExporter commented 8 years ago
Can you explain with more details what do you mean?
Where should then this VPN tunnel connect?

Original comment by supp.san...@gmail.com on 16 Aug 2013 at 3:39

GoogleCodeExporter commented 8 years ago

Original comment by supp.san...@gmail.com on 16 Aug 2013 at 3:40

GoogleCodeExporter commented 8 years ago
Now I understand what you have in mind. 
Yes, it is more practical, but you need VPN server to connect to.

Original comment by supp.san...@gmail.com on 16 Aug 2013 at 5:12

GoogleCodeExporter commented 8 years ago
Sorry... It seems that I couldn't make my point clear. Have you tried out 
Psiphon3? It is a popular tool for bypassing firewalls in countries such as 
Iran or China. It connects to a SSH Server and then creates a VPN with which 
the whole device can access the internet. You can try it by sending an email to 
get@psiphon3.com
I don't have a profound knowledge of computers, but I guess this can be done 
with Proxy Servers too. The app connects to the proxy server and then tunnels 
the data to a VPN.
I attached a screenshot of Psiphon log file too.
Thank you for your interest :-) 

Original comment by bahra...@gmail.com on 16 Aug 2013 at 6:40

Attachments:

GoogleCodeExporter commented 8 years ago
But is Psiphon3 working behind proxy with authentication or even proxy?
OpenVPN has option http-proxy, don't see anything like this for Psiphon3.

https://bitbucket.org/psiphon/psiphon-circumvention-system/src/7dd88230466fdd22c
e47459161c7158396fd9f99/Android/PsiphonAndroidLibrary/src/com/psiphon3/psiphonli
brary/TunnelCore.java?at=default#cl-401

Original comment by supp.san...@gmail.com on 17 Aug 2013 at 6:52

GoogleCodeExporter commented 8 years ago
No... It doesn't. But in some magical way it manages to bypass our
institution's HTTP Proxy (Maybe they havn't blocked SSH Protocol).
Is it possible for SandroProxy or Drony to use android's VPN after
connecting to the given proxy? In this way the user doesn't need to set
localhost:8008 or localhost:8020 on WiFi settings.

Original comment by bahra...@gmail.com on 17 Aug 2013 at 7:00

GoogleCodeExporter commented 8 years ago
When vpn is established, android local proxy settings is disabled.

http://code.google.com/p/sandrop/issues/detail?id=78

If SandroProxy would operate in root mode, 
probably iptables rules will interfere with vpn ones and nothing would work.

Original comment by supp.san...@gmail.com on 19 Aug 2013 at 5:12

GoogleCodeExporter commented 8 years ago
I see. So we have to wait until Google updates its VPN APIs.
Thank you for your interest and concern. :-)

Original comment by bahra...@gmail.com on 20 Aug 2013 at 5:39

GoogleCodeExporter commented 8 years ago

Original comment by supp.san...@gmail.com on 22 Aug 2013 at 12:39