mirror of
https://github.com/bol-van/zapret.git
synced 2025-01-19 12:42:21 +03:00
bsd readme: rdr-anchor zapret move
This commit is contained in:
parent
0973b2923d
commit
7714468f4e
@ -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";
|
||||
```
|
||||
|
||||
|
@ -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";
|
||||
-----------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user