From 3aa3b45ad114bb03d41ae028b32dafef30e62012 Mon Sep 17 00:00:00 2001 From: keteflips Date: Fri, 10 Oct 2025 19:54:32 +0200 Subject: [PATCH] Updated firewall config. --- wireguard.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wireguard.md b/wireguard.md index 5b70afb..5e93c7c 100644 --- a/wireguard.md +++ b/wireguard.md @@ -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