Re: [bitfolk] *** SPAM *** nftables

Top Page

Reply to this message
Author: keith
Date:  
To: users
CC: users
Old-Topics: [bitfolk] nftables
Subject: Re: [bitfolk] *** SPAM *** nftables
On 2020-05-09 16:18, Steve Harriss wrote:
> Afternoon
>


> Listing my running nft rules shows this appended to the end:
> table ip nat {
> chain post {
> type nat hook postrouting priority 0; policy accept;
> ip saddr 10.10.10.0/24 oifname "eth0" masquerade
> }
>
> chain pre {
> type nat hook prerouting priority 0; policy accept;
> }
>
> I then try to transfer that config to my nftables.conf but on reading
> in the .conf file I get the errors:
> sudo nft -f /etc/nftables.conf
> /etc/nftables.conf:67:1-5: Error: syntax error, unexpected table
> table ip nat {
> ^^^^^



It looks like your brackets are not balanced 3 opening and 2 closing

Keith