S
S
SysUtils2016-10-20 19:31:24
linux
SysUtils, 2016-10-20 19:31:24

Setting up Iptables OpenWRT?

Good evening everyone. Setting up iptables on OpenWRT (x86) for redsocks. Everything is according to the instructions, as on the site, but when adding the last rule, this comes out

[email protected]:~# iptables -t nat -A OUTPUT -p tcp -m owner --uid-owner OpenWRT -j
 REDSOCKS
iptables v1.4.21: Couldn't load match `owner':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
The internet is silent about this. Doesn't find the owner directory or what? What does he need then? How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-10-20
@BuriK666

Need to load xt_owner or ipt_owner kernel module
https://wiki.openwrt.org/doc/howto/netfilter like in iptables-mod-extra package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question