LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Libranet
User Name
Password
Libranet This forum is for the discussion of Libranet Linux.

Notices

Reply
 
Search this Thread
Old 10-28-2003, 09:00 AM   #1
graymate
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
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

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
 
Old 10-30-2003, 06:20 PM   #2
tal@libranet
Libranet Developer
 
Registered: Oct 2003
Distribution: Libranet
Posts: 12

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add service in windows ajkannan83 Linux - Software 2 09-12-2005 09:32 AM
How do I add a Shell option to grub DiSGuiZ Linux - Newbie 4 04-15-2005 03:28 PM
how to add floppy option in grub? JIV Linux - Software 3 05-03-2003 08:51 PM
want to add lilo option to ntloader onlyhuman9 Linux - Software 1 09-21-2001 02:49 AM
ADD A PREVIEW OPTION Stephanie General 0 05-02-2001 09:38 AM


All times are GMT -5. The time now is 11:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration