Post Reply

Working WiFi tethering with VPN on 4.3 without losing mobile data connection!!!

OP burnmatoaka

3rd March 2014, 08:09 PM   |  #1  
burnmatoaka's Avatar
OP Senior Member
Flag 406
Thanks Meter: 40
 
250 posts
Join Date:Joined: Dec 2010
More
Thought this might help somebody. (Root required)

EDIT: Confirmed working on Carbon ROM 4.3/4.4

Can confirm that this works:

1) Install Crossbreeder ( http://forum.xda-developers.com/show....php?t=2113150 ) This modifies the DNS implementation to make the script work like it used to in Android versions pre 4.3

2) Connect VPN (I use the Private Internet Access app)

3) Start WiFi tether

4) Run the following script as superuser(all credit goes to thantos_mehak for this post: http://forum.xda-developers.com/show...2&postcount=31 ):

Code:
#!/system/bin/sh (you may need to confirm this is the proper path to sh, with `which sh`)
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE
5) Connect mobile device (such as tablet) and allow it to obtain an IP address from the network before allowing Windows to connect to avoid the mobile data drop while tethering problem. Don't know why this works. Apparently something with the SGS3 and Verizon's network doesn't like to play nice with dolling out IP addresses to PCs. Connecting another Android (or other?) device before allowing your computer to connect prevents the data connection drop.

I'm tethering right now on Carbon ROM (4.3) on my Verizon SGS3.

Hope this helps!
Last edited by burnmatoaka; 15th March 2014 at 12:45 AM. Reason: Notes about requiring root/su, confirm 4.4 working
Post Reply Subscribe to Thread

Tags
4.3, data drop, tethering, vpn
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Verizon Galaxy S III General by ThreadRank