Files
wlan-ap/patches/0040-firewall-Add-firewall-rule-for-interapcomm.patch
John Crispin 7ae17f821b ipq807x: update kernel patches and add new boards
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00

42 lines
1.2 KiB
Diff

From 73f3b678931fd817e5d254764201cd28f3fa29fb Mon Sep 17 00:00:00 2001
From: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Date: Mon, 21 Dec 2020 06:16:32 +0530
Subject: [PATCH 40/40] firewall: Add firewall rule for interapcomm
Add firewall rule for UCC (video/voice detect messages)
and APC (Access Point Coordinator)
---
.../config/firewall/files/firewall.config | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/package/network/config/firewall/files/firewall.config b/package/network/config/firewall/files/firewall.config
index 58ca162cc7..f23e4594d8 100644
--- a/package/network/config/firewall/files/firewall.config
+++ b/package/network/config/firewall/files/firewall.config
@@ -129,6 +129,22 @@ config rule
option proto udp
option target ACCEPT
+config rule
+ option name Allow-APC
+ option src wan
+ option proto udp
+ option dst_port 50010
+ option target ACCEPT
+ option family ipv4
+
+config rule
+ option name Allow-UCC
+ option src wan
+ option proto udp
+ option dst_port 50000
+ option target ACCEPT
+ option family ipv4
+
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
--
2.25.1