Maniak
Verified User
I made it to setup it within future. It was tested on CentOS , but since nothing is special, it should work for other distribution.
Use at your own risks!!
3 commands to run.
# cd
# wget http://popowski.free.fr/directadmin/firewall.sh
# sh firewall.sh
This system open incomings ports :
21,22,37,53,80,110,143,443,465,993,995,2222,6000_7000
This system open outbound ports :
21,25,43,80,110,143,443,465,993,995,2222
You can after install add your own ports selection to the file /etc/apf/conf.apf. The original file conf.apf can be found at /etc/apf/conf.apf.bak (for comments).
Enjoy it.
Use at your own risks!!
3 commands to run.
# cd
# wget http://popowski.free.fr/directadmin/firewall.sh
# sh firewall.sh
This system open incomings ports :
21,22,37,53,80,110,143,443,465,993,995,2222,6000_7000
This system open outbound ports :
21,25,43,80,110,143,443,465,993,995,2222
You can after install add your own ports selection to the file /etc/apf/conf.apf. The original file conf.apf can be found at /etc/apf/conf.apf.bak (for comments).
Enjoy it.
Last edited: