Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Is iptables working on 4.4.2 stock ?

OP miradorid

26th June 2014, 08:25 PM   |  #1  
OP Member
Thanks Meter: 0
 
30 posts
Join Date:Joined: Jul 2012
Hi,

My Galaxy S4 i9505 is on Android 4.3 stock rooted.

I would like to know if iptables is working before updating to android 4.4.2 stock.
Can someone do this test on his Galaxy on 4.4.2 stock rooted ?

Install Android Terminal Emulator and enable access point in network settings
In terminal :
HTML Code:
su
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.43.1:8980
This is risk-free, reboot your phone and iptables rules are deleted

And tell me if there is an error message like "getprotobyname is not implemented on Android" (if nothing is displayed it's ok)

Thanks !
Last edited by miradorid; 26th June 2014 at 08:29 PM.
Post Reply Subscribe to Thread

Tags
iptables
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes