heredago's blog

January 9, 2013

Nexus 4 – Tethering in LTE mode

Filed under: Uncategorized — Tags: , , , , , , , , , , , , , , , , , — heredago @ 11:43

—Had anyone figured out how to tether while on LTE?—

You can use this script but you will need root access and root browser or something that can execute sh file.

Here you go. Just execute it with root access and try it out. You will need to execute every time you reboot though.

http://db.tt/QgxfEOrq

Here is the code that you could copy&paste in a txt file saved as an .sh file if the above link is down:

iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE

 

Source: XDA forum here: http://forum.xda-developers.com/showpost.php?p=36484452&postcount=7498

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: