From 086acd270a53ef912a581ee7362bf9f85f749939 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Fri, 24 Jun 2022 07:36:09 -0700 Subject: [PATCH] Add config_app used port to iptables --- .../recipes-support/iptables/iptables/iptables.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/meta-mediatek-aud/recipes-support/iptables/iptables/iptables.rules b/meta/meta-mediatek-aud/recipes-support/iptables/iptables/iptables.rules index 273dd0d82..4db61046d 100644 --- a/meta/meta-mediatek-aud/recipes-support/iptables/iptables/iptables.rules +++ b/meta/meta-mediatek-aud/recipes-support/iptables/iptables/iptables.rules @@ -20,6 +20,9 @@ COMMIT :OUTPUT ACCEPT [0:0] -A INPUT -i lo -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT +-A INPUT -p tcp -m tcp --dport 2017 -j ACCEPT +-A INPUT -p udp -m udp --dport 2345 -j ACCEPT +-A INPUT -p udp -m udp --dport 22655 -j ACCEPT -A OUTPUT -j ACCEPT COMMIT # Completed on Tue Jul 12 01:22:18 2022