diff --git a/source/firewall/firewall.c b/source/firewall/firewall.c index b0237dd7..674ae8f7 100644 --- a/source/firewall/firewall.c +++ b/source/firewall/firewall.c @@ -13836,6 +13836,10 @@ WAN_FAILOVER_SUPPORT_CHECk_END } fprintf(filter_fp, "-I FORWARD -o %s -m state --state INVALID -j DROP\n",current_wan_ifname); #endif +#if defined(_PLATFORM_BANANAPI_R4_) + fprintf(filter_fp, "-I INPUT -p udp --dport 5060 -j ACCEPT\n"); + fprintf(filter_fp, "-I INPUT -p udp --dport 10000:20000 -j ACCEPT\n"); +#endif fprintf(raw_fp, "COMMIT\n"); fprintf(mangle_fp, "COMMIT\n"); fprintf(nat_fp, "COMMIT\n");