From fed9c9f6cc5a561604dbe79e949f7ce9dd0e5cda Mon Sep 17 00:00:00 2001 From: Jeltz Date: Wed, 10 Mar 2021 04:08:10 +0100 Subject: [PATCH] Typo 'prerouting' v. 'postrouting' --- roles/nftables_router/templates/nftables.d/60-nat.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nftables_router/templates/nftables.d/60-nat.conf.j2 b/roles/nftables_router/templates/nftables.d/60-nat.conf.j2 index 6e4fe12..6c8e0a6 100644 --- a/roles/nftables_router/templates/nftables.d/60-nat.conf.j2 +++ b/roles/nftables_router/templates/nftables.d/60-nat.conf.j2 @@ -15,10 +15,10 @@ table ip nat { } chain postrouting { - type nat hook prerouting priority 100 + type nat hook postrouting priority 100 policy accept - # oifname $wan_iface goto snat_to_wan + oifname $wan_iface goto snat_to_wan } }