Ajout const table whitelist ssh
This commit is contained in:
parent
3e864ee7a8
commit
5939896b57
|
@ -153,7 +153,7 @@ pass in quick on $ext_if proto tcp to port 2222 rdr-to 192.0.2.5 port ssh \
|
|||
Il est également possible d'avoir une whitelist avec cette configuration :
|
||||
|
||||
~~~
|
||||
table <whitelist-ssh> persist { 198.51.100.12, 203.0.113.56 }
|
||||
table <whitelist-ssh> const persist { 198.51.100.12, 203.0.113.56 }
|
||||
table <blacklist-ssh> persist
|
||||
|
||||
pass in quick on $ext_if proto tcp from <whitelist-ssh> to port 2222 rdr-to 192.0.2.5 port ssh
|
||||
|
|
Loading…
Reference in a new issue