netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reject statement - "crazy" parse error?
@ 2016-10-26  1:30 James Feeney
  2016-10-26  7:00 ` Arturo Borrero Gonzalez
  0 siblings, 1 reply; 7+ messages in thread
From: James Feeney @ 2016-10-26  1:30 UTC (permalink / raw)
  To: netfilter-devel

Arch Linux
linux 4.8.4-1

nftables-git 0.6.r96.gbb636b8-1
libnftnl-git 1.0.6.r68.gc26951e-1


/etc/nftables.conf

flush ruleset
define if_WAN = enp3s0

table ip private {
 chain postroute {
  type filter hook postrouting priority 0;
    oifname $if_WAN ip daddr 192.168.0.0/16 reject
 }
}

$ sudo nft -f /etc/nftables.conf
/etc/nftables.conf:4:1-2: Error: Could not process rule: No such file or directory
table ip private {
^^

I'm guessing that that error message is wildly off-base.

Or is "reject" not a proper "terminal statement"?

Or is there something wrong with the syntax?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-28 19:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26  1:30 reject statement - "crazy" parse error? James Feeney
2016-10-26  7:00 ` Arturo Borrero Gonzalez
2016-10-26 18:50   ` James Feeney
2016-10-28  9:07     ` Arturo Borrero Gonzalez
2016-10-28  9:11       ` Pablo Neira Ayuso
2016-10-28 16:33       ` James Feeney
2016-10-28 19:16       ` James Feeney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).