LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   location of iptables in opensuse 11.2 (http://www.linuxquestions.org/questions/linux-newbie-8/location-of-iptables-in-opensuse-11-2-a-805181/)

mrbutabara 04-30-2010 09:49 AM

location of iptables in opensuse 11.2
 
what directory is the iptables configuration file located in? i'm not used to opensuse and i've been looking for it for a while and can't seem to find it. thanks in advanced.

kirukan 04-30-2010 09:51 AM

Refer the following
http://en.opensuse.org/Iptables

hiero2 05-05-2010 10:48 AM

where is iptables in opensuse?
 
openSUSE sets the firewall configuration thru SuSEfirewall2.

I don't see, on the referenced opensuse page, where an iptables config is located for opensuse. I do see a sentence that tells us the default iptables location is NOT the opensuse location.

So, on my two opensuse 11.2 machines I do (command line)
Code:

whereis iptables
I get back
Code:

iptables: /usr/sbin/iptables /usr/share/man/man8/iptables.8.gz
That just tells me where iptables is. I try SuSEfirewall2 and
Code:

SuSEfirewall2: /sbin/SuSEfirewall2
Because I'm messing about with this myself right now, I know openSUSE sets the firewall configuration thru SuSEfirewall2. Yast just sets the configuration there. Theoretically, you could disable the firewall in Yast, and use an iptables script, I suppose, but it seems to me that a lot of suse setup looks for susefirewall2, and I think it quite possible that writing your own could lead to something getting undone. I am not sure.

You COULD use the SuSEfirewall2 config file to set iptables, and that not only should work, but seems to be encouraged by suse. Check the openSUSE site for more info.


All times are GMT -5. The time now is 08:31 AM.