LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-03-2005, 06:04 AM   #1
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
Where is the iptables default config file stored under SuSe 9.1


Under RedHat the iptables config file is stored in /etc/sysconfig/iptables

Where is this file under SuSe 9.1?
 
Old 02-03-2005, 08:17 AM   #2
drumvudu
Member
 
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57

Rep: Reputation: 15
I'm not positive but if you compare the file you are referring to from Red Hat to the file called /etc/sysconfig/SuSEfirewall2 in SuSE, I think that they are the same file. HTH's /Peter
 
Old 02-03-2005, 08:53 AM   #3
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Original Poster
Rep: Reputation: 16
No it isn't quite what I am after : (

To explain a little more..

If I config the firewall through webmin I can see 8 explicitly opened inbound ports, but the only thing in /etc/sysconfig/SuSEfirewall2 relating to iptables is commented out.

# iptables -A INPUT -j DROP -m state --state NEW,INVALID -i ippp0

On my RedHat box the firewall was setup in the same way (through webmin), and in /etc/sysconfig/iptables I can see the commands that set this. (see below)

:INPUT DROP [0:0]
-A INPUT -m mac --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT
-A INPUT -m mac -s 128.1.1.24 --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT ...........and so on

I'm looking for the equivalent file under SuSe
 
Old 02-03-2005, 09:31 AM   #4
drumvudu
Member
 
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57

Rep: Reputation: 15
Have a look at the script /sbin/SuSEfirewall2. It will contain all of the chains for your firewall that are currently set although they are set using environment variables but that shouldn't really matter. In RH, I think that they file you are talking about is a shell script right? If so, then i think this is the file you want.../p
 
Old 02-03-2005, 10:10 AM   #5
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Original Poster
Rep: Reputation: 16
W00!
Yes thats what I was after.

Thanks.
 
  


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
Default GUI Config File Permaximus Slackware 4 11-05-2005 01:59 AM
where is torsmo's default config file? Godsmacker777 Linux - Software 4 03-07-2005 09:38 PM
a working default config file for 2.6 demmylls Linux - General 9 12-25-2003 11:45 AM
how to change iptables default config lingg2002 Linux - Networking 2 10-16-2003 12:13 PM
Mandrake - Where is Default IPTables Config Script? fortezza Linux - Security 7 07-19-2003 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:04 PM.

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
Open Source Consulting | Domain Registration