Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iptables modules missing #34

Open
denisebitca opened this issue May 22, 2021 · 1 comment
Open

iptables modules missing #34

denisebitca opened this issue May 22, 2021 · 1 comment

Comments

@denisebitca
Copy link

denisebitca commented May 22, 2021

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.

@denisebitca
Copy link
Author

denisebitca commented May 22, 2021

(false alarm I am really sorry for the email spam)

Update: I compiled a newer version of iptables, to no avail. Still have the same issue with version v1.8.7.

@denisebitca denisebitca reopened this May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant