Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 08-22-2013, 09:21 AM   #1
LQ Newbie
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
incomplete iptables implemented in android jellybean 4.1.1?


We wanted to redirect traffic in our android device (rooted) to another host(the device is a manufactured screen so there are no brand names). To do it, we have the following command below.

iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination*
iptables -t nat -A POSTROUTING -p tcp --dport 8080 -j MASQUERADE
The problem however is that the iptables is giving this error
"protoent* getprotobynumber(int)(3) is not implemented"
It seems that there is a missing kernel module or unimplemented function.

My idea now is that I would have to recompile the android kernel with the option
to make this work. I am not sure though if that is the right approach to enable the missing module in iptables, I am worried I may ruin the device.

Hopefully someone can help me how to solve the*
"protoent* getprotobynumber(int)(3) is not implemented"
, or maybe there is a different way to go?

Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a much of a noticeable difference between ICS and Jellybean? Cultist Linux - Mobile 3 08-19-2013 04:19 AM
Application download error in Android, with removable memory and incomplete Novatian Linux - Mobile 1 08-22-2012 08:33 PM
LXer: Jellybean to Follow Ice Cream Sandwich | Android LXer Syndicated Linux News 0 09-16-2011 12:30 PM
iptables error in android: iptables-save and iptables-restore not working preetb123 Linux - Mobile 5 04-11-2011 01:56 PM
howto test a linux firewall implemented in iptables pavan.daemon Linux - Security 7 09-22-2007 09:54 AM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration