From effb6be6e5dfe11ec9aa1b41949b7c4158148b33 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 30 Mar 2022 14:10:48 +0300 Subject: [PATCH] pfsense: for unknown reason calling zapret/* anchor not working in recent pfsense --- docs/bsd.eng.md | 4 ++-- docs/bsd.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/bsd.eng.md b/docs/bsd.eng.md index 3baa62f..817cd7a 100644 --- a/docs/bsd.eng.md +++ b/docs/bsd.eng.md @@ -209,7 +209,7 @@ One possible solution would be to modify '/etc/inc/filter.inc' as follows : ................. /* MOD */ $natrules .= "# ZAPRET redirection\n"; - $natrules .= "rdr-anchor \"zapret/*\"\n"; + $natrules .= "rdr-anchor \"zapret\"\n"; $natrules .= "# TFTP proxy\n"; $natrules .= "rdr-anchor \"tftp-proxy/*\"\n"; @@ -237,7 +237,7 @@ nat-anchor "natearly/*" all nat-anchor "natrules/*" all ................... no rdr proto carp all -rdr-anchor "zapret/*" all +rdr-anchor "zapret" all rdr-anchor "tftp-proxy/*" all rdr-anchor "miniupnpd" all [root@pfSense /]# pfctl -s nat -a zapret diff --git a/docs/bsd.txt b/docs/bsd.txt index 6f7557d..c18d6fa 100644 --- a/docs/bsd.txt +++ b/docs/bsd.txt @@ -210,7 +210,7 @@ dvtws --daemon --port 989 --dpi-desync=split2 ................. /* MOD */ $natrules .= "# ZAPRET redirection\n"; - $natrules .= "rdr-anchor \"zapret/*\"\n"; + $natrules .= "rdr-anchor \"zapret\"\n"; $natrules .= "# TFTP proxy\n"; $natrules .= "rdr-anchor \"tftp-proxy/*\"\n"; @@ -238,7 +238,7 @@ nat-anchor "natearly/*" all nat-anchor "natrules/*" all ................... no rdr proto carp all -rdr-anchor "zapret/*" all +rdr-anchor "zapret" all rdr-anchor "tftp-proxy/*" all rdr-anchor "miniupnpd" all [root@pfSense /]# pfctl -s nat -a zapret