alaa2003
(Alaa Elkhawaga)
February 28, 2018, 6:12am
1
hello
i need to ad manually iptable rules , the problem is once restart amportal or reboot OS i found all my added rules has deleted !
i need method to make rules persistent during amportal restart / OS reboot
i am using ast13 + freepbx 14
regards
Alaa
Stewart1
(Stewart)
February 28, 2018, 7:09am
2
This is OS dependent. See https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-iptables-saving.html (just as an example). Find and follow the equivalent instructions for your system.
alaa2003
(Alaa Elkhawaga)
February 28, 2018, 10:50am
3
i already did this solution but once amportal restart or OS reboot, all iptables rules deleted
1- after freepbx booted
2- iptables after add my rule
3- iptables after amportal restart
why amportal delete all saved iptables rules ?
so, how can i put specific persist rule manually ?
lgaetz
(Lorne Gaetz)
February 28, 2018, 12:48pm
4
Do you have the FreePBX Firewall enabled?
alaa2003
(Alaa Elkhawaga)
March 3, 2018, 8:05am
5
dear lgaetz thanks a lot , i uninstalled FreePBX Firewall from modules and solved >>
1 Like
lgaetz
(Lorne Gaetz)
March 3, 2018, 3:07pm
6
1 Like
alaa2003
(Alaa Elkhawaga)
March 6, 2018, 6:34am
7
lgaetz , that mean i can leave FreePBX Firewall enabled andy add my custom FW rules ?
cynjut
(Dave Burgess)
March 6, 2018, 3:12pm
8
Yes. Lorne specifically added this functionality to the Integrated Firewall for cases like yours.
1 Like
lgaetz
(Lorne Gaetz)
March 6, 2018, 3:18pm
9
I merely pointed to the wiki. This specific feature was provided by @xrobau .
1 Like
cynjut
(Dave Burgess)
March 6, 2018, 3:25pm
10
My mistake - I meant Rob…
system
(system)
Closed
March 13, 2018, 3:25pm
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.