Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-03-2004, 12:41 AM   #1
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
manually editing firewall config file


I have a question concerning the configuration of the firewall. I searched this forum for about 15 minutes without being able to find the answer I am looking for: is there a specific file that holds the configuration of the firewall? -one that I can edit.. to block and/or unblock specific ports? I read that iptables/shorewall might have something to do with it. I use mandrake 10 official, and the
doesn't seem to want to save my changes. Any input is appreciated.

Old 09-03-2004, 01:20 AM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
the common method is to make an iptables script and set it to run on startup...

this link will provide you with plenty of iptables documentation and example scripts:

good luck...
Old 09-03-2004, 01:48 AM   #3
LQ Newbie
Registered: Apr 2004
Location: San Tan Valley, Az
Distribution: Any... but I prefer Debian based...
Posts: 26

Rep: Reputation: 15
Cool Mandrake uses Shorewall

#cd /etc/shorewall/ - Contains the configuration some ways Shorewall is very cool. However in some circumstances a simpler approach may be desired. If you prefer simpler, I would recommend Slackware...

- You may just need to edit and save your "rules" configuration file....

#drakfirewall --nox - Brings up the configuration utility in an SSH terminal in case of remote administration.

Have fun,
Old 09-03-2004, 01:03 PM   #4
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Original Poster
Rep: Reputation: 34
thanks! :-D


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
editing the kernel config file slzckboy Linux - General 4 09-24-2005 02:48 PM
Manually editing cron inpt Linux - Software 5 12-02-2004 04:23 PM
redhat8, changed hostname by editing config file, X no longer recognizes it infamous41md Linux - Newbie 2 03-31-2004 01:20 AM
Booting to VGA or text mode without editing config file mattman1081 Linux - Newbie 6 02-10-2004 09:36 PM
editing wine config file.... Shantesh Linux - Software 1 09-14-2003 07:59 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:29 AM.

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