SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-03-2005, 06:04 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137
Rep:
|
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?
|
|
|
02-03-2005, 08:17 AM
|
#2
|
Member
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57
Rep:
|
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
|
|
|
02-03-2005, 08:53 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137
Original Poster
Rep:
|
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
|
|
|
02-03-2005, 09:31 AM
|
#4
|
Member
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57
Rep:
|
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
|
|
|
02-03-2005, 10:10 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137
Original Poster
Rep:
|
W00!
Yes thats what I was after.
Thanks.
|
|
|
All times are GMT -5. The time now is 06:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|