Keith

Thanks for responding.

I'd had that pointed out on the Debian user forum so had managed to sort that part of my problem.

It's amazing what a fresh pair of eyes can do. I was going round in circles. The error messages actually just caused me to become even more confused.

Cheers

Steve

On 10 May 2020 18:59:01 BST, keith@keiths-place.co.uk wrote:
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
users mailing list
users@lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.