From 7714468f4e716b1f14f9f487a962aac2c912dbcb Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 24 Jan 2022 14:27:36 +0300 Subject: [PATCH] bsd readme: rdr-anchor zapret move --- 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 f6f374e..04ea3e2 100644 --- a/docs/bsd.eng.md +++ b/docs/bsd.eng.md @@ -206,11 +206,11 @@ Only PF redirection works. PF does not allow to freely add and delete rules. Onl To make an anchor work it must be referred from the main ruleset. But its managed by pfsense scripts. One possible solution would be to modify '/etc/inc/filter.inc' as follows : ``` - $natrules .= "# TFTP proxy\n"; - /* MOD */ + $natrules .= "# ZAPRET redirection\n"; $natrules .= "rdr-anchor \"zapret/*\"\n"; + $natrules .= "# TFTP proxy\n"; $natrules .= "rdr-anchor \"tftp-proxy/*\"\n"; ``` diff --git a/docs/bsd.txt b/docs/bsd.txt index 06361d8..29b3408 100644 --- a/docs/bsd.txt +++ b/docs/bsd.txt @@ -207,11 +207,11 @@ dvtws --daemon --port 989 --dpi-desync=split2 Его трогать нельзя, иначе порушится весь фаервол. Поэтому придется править код скриптов pfsense. Поправьте /etc/inc/filter.inc следующим образом : ----------- - $natrules .= "# TFTP proxy\n"; - /* MOD */ + $natrules .= "# ZAPRET redirection\n"; $natrules .= "rdr-anchor \"zapret/*\"\n"; + $natrules .= "# TFTP proxy\n"; $natrules .= "rdr-anchor \"tftp-proxy/*\"\n"; -----------