Updated firewall config.
This commit is contained in:
parent
d67cfe4b28
commit
3aa3b45ad1
@ -30,10 +30,10 @@ set interfaces wireguard wg0 peer HMAlHHPMLvcDWhPoGbOkpDiKpZbdfkPZfIb7z6Q3XV0= p
|
||||
|
||||
### Configure Firewall
|
||||
```sh
|
||||
set firewall name WAN_LOCAL rule 20 action accept
|
||||
set firewall name WAN_LOCAL rule 20 protocol udp
|
||||
set firewall name WAN_LOCAL rule 20 description 'WireGuard'
|
||||
set firewall name WAN_LOCAL rule 20 destination port 51820
|
||||
set firewall name INTERNET_LOCAL rule 10 description "Permitir WireGuard"
|
||||
set firewall name INTERNET_LOCAL rule 10 action accept
|
||||
set firewall name INTERNET_LOCAL rule 10 protocol udp
|
||||
set firewall name INTERNET_LOCAL rule 10 destination port 51820
|
||||
```
|
||||
|
||||
### Configure NAT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user