From 3f6e8ab4040cefaa2dfc4a0b5f6d48d495c5aadd Mon Sep 17 00:00:00 2001 From: usmannasir Date: Thu, 15 Feb 2024 05:53:56 +0500 Subject: [PATCH] bug fix: docker problem with csf: ref https://community.cyberpanel.net/t/docker-and-csf-problems/52284/2 --- plogical/csf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plogical/csf.py b/plogical/csf.py index a2eca9ff0..f0fc56ffa 100755 --- a/plogical/csf.py +++ b/plogical/csf.py @@ -160,10 +160,10 @@ def configservercsfiframe(request): for items in data: if items.find('TCP_IN') > -1 and items.find('=') > -1 and (items[0] != '#'): writeToConf.writelines( - 'TCP_IN = "20,21,22,25,53,80,110,995,143,443,465,587,993,995,1025,7080,8090,40110:40210"\n') + 'TCP_IN = "20,21,22,25,53,80,110,995,143,443,465,587,993,995,1025,7080,8090,40110:40210,8088,5678"\n') elif items.find('TCP_OUT') > -1 and items.find('=') > -1 and (items[0] != '#'): writeToConf.writelines( - 'TCP_OUT = "20,21,22,25,43,53,80,110,113,443,587,993,995,8090,40110:40210"\n') + 'TCP_OUT = "20,21,22,25,43,53,80,110,113,443,587,993,995,8090,40110:40210,8088,5678"\n') elif items.find('UDP_IN') > -1 and items.find('=') > -1 and (items[0] != '#'): writeToConf.writelines('UDP_IN = "20,21,53,443"\n') elif items.find('UDP_OUT') > -1 and items.find('=') > -1 and (items[0] != '#'):