Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nftables issues -Error: Could not process rule: No such file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jara0
n00b
n00b


Joined: 08 Jan 2016
Posts: 18

PostPosted: Fri May 18, 2018 10:01 pm    Post subject: nftables issues -Error: Could not process rule: No such file Reply with quote

So i recently started having an odd issues with nftables for groups in { }. I understand these to be sets, may be incorrect. These were used throughout the script I used for firewall. Been working on it for 2 days on and off. This always worked before without net-firewall/ipset. Same version of nftables that it worked with before I believe.

Things tried
-installed net-firewall/ipset -modules
-tried copying a stock cent kernel config and using that.
-added all ip_set modules in kernel and rebooted.

I cannot seem to find any reference this this specific error.

(not sure why code tag isnt working)
Code:

user1 /tmp # nft add table ip filter
user1 /tmp # nft add chain ip filter incoming { type filter hook input priority 0 \; policy accept \; }
user1 /tmp #         nft add rule filter incoming ct state established,related accept;
user1 /tmp #         nft add rule filter incoming ip daddr { 192.168.244.1, 192.168.22.0/24 } accept
Error: Could not process rule: Operation not supported
add rule filter incoming ip daddr { 192.168.244.1, 192.168.22.0/24 } accept
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory
add rule filter incoming ip daddr { 192.168.244.1, 192.168.22.0/24 } accept
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory
add rule filter incoming ip daddr { 192.168.244.1, 192.168.22.0/24 } accept
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


[Moderator note: unchecked Disable BBCode in this post so that OP's code tags would work as intended. -Hu]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum