Skip to content

iptables modules missing #34

@denisebitca

Description

@denisebitca

Hello,

I am trying to turn my Steam Link into a wifi hotspot, and I'm already most of the way there (I have successfully cross compiled dnsmasq and hostapd), however, I cannot use any of the iptables commands to finalize routing my Ethernet to the wifi.

I keep getting messages of the sort whenever I run iptables:

$ iptables -P FORWARD ACCEPT

iptables v1.4.21: can't initialize iptables table 'filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
$ iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

iptables v1.4.21: can't initialize iptables table 'nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I certainly find it odd to include iptables but to gut it of all of its modules. Is this something I am doing wrong on my end, or is this kernel build missing a few iptables modules?

Before I forget: I just factory reset my Steam Link and I am running the latest build.

EDIT 1:

attempting to modprobe individual parts of the ip_tables module returns this:

$ modprobe iptable_nat

modprobe: 'kernel/net/ipv4/netfilter/nf_nat_ipv4.ko': Protocol wrong type for socket
modprobe: 'kernel/net/ipv4/netfilter/iptable_nat.ko': unknown symbol in module or invalid parameter
$ modprobe nf_nat_ipv4

modprobe: 'kernel/net/ipv4/netfilter/nf_nat_ipv4.ko': Protocol wrong type for socket

Nothing I can do, I think. This is definitely a kernel thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions