LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Libranet (https://www.linuxquestions.org/questions/libranet-34/)
-   -   How can I add a service option to the firewall (https://www.linuxquestions.org/questions/libranet-34/how-can-i-add-a-service-option-to-the-firewall-109463/)

graymate 10-28-2003 09:00 AM

How can I add a service option to the firewall
 
...in a clean way?

I was trying to guess it by myself, but I can't figure out the magicka of perl coding :D

I can see the FW is a .pl script, and the service options are contained in an array... what if I want to add a port, say emule's 4662/tcp and 4772/udp? Can i modify the array and see a new entry in the FW adminmenu services config, say "emule", thus keeping the whole thing clean?

Thanks :)

tal@libranet 10-30-2003 06:20 PM

You could hand edit /etc/libranet/firewall.conf and add the port number you would like to open to the "SERVICES=" line.


All times are GMT -5. The time now is 01:53 PM.