Reverse Usb Tethering with VPN to Bypass Internet Censorship - Android Q&A, Help & Troubleshooting

I have a big problem and after many days I can't find any solution because I'm not Linux experienced user...
So, I'm using USB [Reverse] Tether (Windows share internet with phone via USB cable) everything working ok (dns, http browser, etc...)
BUT all VPN apps doesn't! when I try to make VPN connection, it said "waiting for usable connection..." in notification and never be connect
I'm using xposed with "Hack Connectivity Service" and "Fake WiFi Connection" modules and I'm sure need some rule in iptable.
I need two successful configs:
1) route any VPN traffic throw "rndis0" adapter to establish VPN tunnel (tun0 interface)
2) route other app's traffic throw tun0 interface for bypass internet censorship
See this: http://www.axgig.com/images/83237693943488625952.gif
Thank you!

Related

Openvpn connected but not tunneling over VPN

Hi,
I followed several guides on connecting my Galaxy Ace with an Openvpn Server.
I finally managed to connect to a Openvpn server using Certificates with the latest Cyanogen Mod for the Galaxy Ace.
For the Connection I used OpenVPN Settings App from the Market.
The thing is that the connection is established and I see in the config, that VPN is connected. It displays the message:" Connected to 134.x.x.x as 192.168.200.100"
But unfortunately nothing is tunneled over this VPN connection. If I for example check my external IP on the Galaxy device, it still shows me my G3 Provider IP. But I expect to see the IP of my Home Internet Provider. Furthermore no connections to devices on the local Network of the VPN Server can be made.
That means, that despite the VPN Dialog showing me that I am connected to the Open VPN server, no connection is tunneled over that device.
The Guides I used to setup the VPN Connection are from here:
freetz.org/wiki/packages/openvpn
and
riseup.net/en/openvpn-android
If I connect with the same settings from an windows PC to the Server, The connection is established and tunneling just fine.
Anyone knows what I am doing wrong?

openvpn - tethering routing

Hello,
SG2/i9100 Droid: 2.3.5
Im running my Ovpn Client fine - everything gets routed - dns is fine too so no issues
But i want to use Wifi and USB tethering to give VPN Connection to my Laptop or any other connected Devices
Since the phone is the router it should not be nessesary using masquerading but routing not really works
Anyone accomplished that already?
Ife tried it with USB and Wifi tether - i can ping the tun interface from the laptop but i cannot ping the vpn server itself
i can do a traceroute from pc - but it stops at the tether gateway on the phone so no routing forward
from the phone i can ping both
the routing table on the phone is as it should be - vpn net is routed to the ptp adress of the server and routing interface is the tun adapter
Ife also activated the forwaring - but it should be active anyway because of the active routing for the normal net
Ife also check iptables filter and nat rules but they are pretty emtpy - btw what is android using to masquerade the theter part ?
anyone any idea?
so it must be a firewalling thing ?
Bump
Really noone tried using the phone as an router?
Sent from my GT-I9100 using XDA App
Yeah I'd like to get this working too please. Tried last night without success using both USB and WiFi... perhaps can figure something more useful out with looking at iptables of phone? Maybe we'll have to configure manual route to get from tethered subnet of phone onto the VPN.
Here we go:
http://forum.xda-developers.com/showpost.php?p=33749904

Android VPN + Tethering

I use Android's native PPTP VPN connection to manage computers at my office or at my home if I need to do something when I'm not physically present.. If my phone is connected to the VPN however, and I tether my internet connection to my tablet, I can't seem to get access unless I make a second VPN connection from my tablet.
Does anybody know how to share VPN access to tethered devices? I'm sure its possible, just not sure how to make it happen...
possible solution see cross-link
See http://forum.xda-developers.com/showpost.php?p=33749904&postcount=10
And why are you trying to do that?
I haven't tested vpn "sharing" , but it is simple to vpn with the tethered device to the vpn server. Wifi tether passes the vpn traffic fine.
I will poke around with it sometime.
Sent from my ADR6425LVW using Tapatalk 2

[Q] How to use permanently an openVPN connection?

Hello,
I run a firewall at home with a openVPN Server. My phone runs CM11. My purpose is to use the VPN connection all the time for all internet access so I can use my firewall .
In my openVPN Client app I can chooese between two modes when phone goes to sleep:
1: pause VPN and use direct internet access
2: pause VPN and do not use direct internet access
Question: is there no chance to use permanently the VPN connection? When the phone is in standby it should also use the established VPN connection. If tunnel is paused and I use option 2 there is no internet connection while phone sleeps. So also no messages are coming in, no mails are checked and so on. But option 1 is against my purpose to use for 100% the VPN connection. Is there any solution for my purpose?
Wanna give it a new try.
This idea shouldn't be so bad as I think

[q]using usb tether for home network

Hello friends,
I've been researching how to fix my problem for a few days and I'm in dire need of some direction. I am getting quite frustrated. So I have my phone tethered to an older laptop via usb pdanet+ and everything is working fine. But what I want to do is broadcast that connection through a wireless router and connect my other devices that way. I know of wifi tethering on android and connectify for laptop but I do not want to go that route. What is it I need to do? I've tried using windows internet sharing through ethernet and disabling dhcp. Running out of ideas...
A couple of options...
1. Hosted Network Starter
Free: Simple hostpot with non configurable DHCP
www.nirsoft.net/utils/wifi_hotspot_starter.html
2. Connectify
Paid: Full featured hotspot with static DHCP feature
http://www.connectify.me/

Categories

Resources