LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

Rep: Reputation: 34
manually editing firewall config file


hello

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
Code:
drakfirewall
doesn't seem to want to save my changes. Any input is appreciated.

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

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

http://www.linuxguruz.com/iptables/

good luck...
 
Old 09-03-2004, 01:48 AM   #3
mindmerge
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 files.....in 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,
-james
 
Old 09-03-2004, 01:03 PM   #4
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

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


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
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


All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
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