How to use iptables into Android-x86

390 views
Skip to first unread message

Luiz

unread,
Oct 30, 2011, 3:45:38 PM10/30/11
to Android-x86
Hi people,

I tried to run iptables in Android-x86 and when used the following
(not between "):

"iptables -A -s 10.0.0.1 -d 10.0.0.2 FORWARD -j ACCEPT"

I got this (not between "):

"iptables v1.3.7: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded."

So, I found it: http://comments.gmane.org/gmane.comp.handhelds.android.kernel/1082
Where, in the end of page, we can see the explanation of setting
variables for Netfilter. But, I tried to do this typing:

set CONFIG_NETFILTER=y

And when I type "echo $CONFIG_NETFILTER" I see nothing assigned to the
variable (empty line).

Please, does anybody know how can I fix it only assigning all these
variables? And how could I assign values for the variables?

Any help you can give me I think you in advance!

Regards,

Luiz

bryanhundven

unread,
Oct 30, 2011, 8:07:12 PM10/30/11
to andro...@googlegroups.com

Luiz Antonio Falaguasta Barbosa

unread,
Oct 30, 2011, 8:46:02 PM10/30/11
to andro...@googlegroups.com
Thanks Bryan!

2011/10/30 bryanhundven <bryanh...@gmail.com>
https://groups.google.com/d/topic/android-x86/t5pesS7lCjg/discussion

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/OF_eOdhrX7sJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.



--
[]s,

Luiz
Reply all
Reply to author
Forward
0 new messages