Skip to contentSkip to conversation

SuSE Linux and iptables

DISCUSSION Erick Sanz 4 participants 4 messages May 29, 2004

lore
Share & tools
lore

Erick Sanz

author
#0 lore raw

All,

I just changed from Red Hat Linux 9.0 to SuSE Linux 9.1; I had several rules working at home that I would like to use in SuSE; however, SuSE comes with its own version of firewalling (tied with YaST); I don't want to use their version (it does not do *exactly* what I
want)...

I tried to unistall their SuSEfirewall2 package; however, it is linked to yast, which is linkded to DHCP and it goes on with the dependencies...

I just want to turn their firewall off and start
iptables on my own, with my own rules...

Has anyone done this?

Beforehand, thank you for your help!

This email message has been scanned for viruses.

#1 lore raw
Quoted 6 lines · On Sat, 29 May 2004 13:51:32 -0500 "Erick Sanz" <[email protected]>…

I just changed from Red Hat Linux 9.0 to SuSE Linux [...]
I just want to turn their firewall off and start iptables on my own, with my own rules...

Has anyone done this?

I don't use SuSE, but if all else fails, you can just create your own script and call it from /etc/rc.local. Just don't forget flushing all chains there.

Leslie

#2 lore raw
In reply to Erick Sanz

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Erick Sanz
Sent: Saturday, May 29, 2004 11:52 AM
To: [email protected]
Subject: SuSE Linux and iptables

All,

I just changed from Red Hat Linux 9.0 to SuSE Linux 9.1; I had several rules working at home that I would like to use in SuSE; however, SuSE comes with its own version of firewalling (tied with YaST); I don't want to use their version (it does not do *exactly* what I want)...

I tried to unistall their SuSEfirewall2 package; however, it is linked to yast, which is linkded to DHCP and it goes on with the dependencies...

I just want to turn their firewall off and start iptables on my own, with my own rules...

Has anyone done this?

Beforehand, thank you for your help!

This email message has been scanned for viruses.

Yes - I run a five NIC Iptables/netfilter firewall with SUSE 9.1. By the way, I love it. Just a couple of tips and you are on your way.

1. The Yast version is started with three scripts in the /etc/init.d directory, all starting with SuSEfirewall2*. Just run chkconfig to disable all three:

chkconfig SuSEfirewsall2** off

2. Write your own script and place it in the /etc/init.d directory. Either start it up manually from there, or soft link it into rc3.d and rc5.d for bootime startup. Activate it the same way you deactivated the Yast version:

chkconfig firewall_script_name on

It's just that simple. Have fun.

########################################################
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

[email protected]
MailScanner at bandwidthco.com is for your absolute protection.
########################################################

#3 lore raw
In reply to Erick Sanz

lør, 29.05.2004 kl. 20.51 skrev Erick Sanz:

Quoted 7 lines

I just changed from Red Hat Linux 9.0 to SuSE Linux 9.1; I had several rules working at home that I would like to use in SuSE; however, SuSE comes with its own version of firewalling (tied with YaST); I don't want to use their version (it does not do *exactly* what I
want)...

Quoted 8 lines

I tried to unistall their SuSEfirewall2 package; however, it is linked to yast, which is linkded to DHCP and it goes on with the dependencies...

I just want to turn their firewall off and start
iptables on my own, with my own rules...

Has anyone done this?

Not with SuSE anything. With RedHat RHEL3ES that was no problem. I wouldn't have expected otherwise ;)

--Tonni

We make out of the quarrel with others rhetoric
but out of the quarrel with ourselves, poetry.

mail: [email protected]
http://www.billy.demon.nl