Hi , I am porting android using froyo.I want to enable iptables in my kernel.How to enable iptables.I got iptables binary in /system/bin an i enable following in my kernel
ONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y # # Core Netfilter Configuration # CONFIG_NF_CONNTRACK=y CONFIG_NF_CONNTRACK_MARK=y CONFIG_NETFILTER_XTABLES=y CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y CONFIG_NETFILTER_XT_MATCH_STATE=y # # IP: Netfilter Configuration # CONFIG_NF_CONNTRACK_IPV4=y CONFIG_NF_CONNTRACK_PROC_COMPAT=y CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_FILTER=y CONFIG_NF_NAT=y while entering command iptables -L ia m getting the following iptables -L getsockopt for multiport failed strangely: No such file or directory getsockopt for multiport failed strangely: No such file or directory Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination what is getsockopt can any body help me how to use iptables in android -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
