LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-03-2006, 10:12 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Rep: Reputation: 36
How to set up suse firewall properly?


I have suse 9.3. Here are my settings:
Internal zone configured - all ports and services open
Demiliterized zone - not set up
External zone - not set up

With the above settings, I guess you could say I have no firewall running. Here is want I want to set up:
Open internal zone with router
Suse and xp boxes on internal lan network
Set up firewall to block mallicious traffic from internet.

Is there an easy way to configure suse for the above basic settings?
 
Old 02-04-2006, 02:20 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
doesn't suse come with a nice GUI for firewall configuration??
 
Old 02-04-2006, 07:11 PM   #3
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
Yes, it does have a nice graphical interface. However, I need to know what each zone should be set for and how the firewall works. Example: does it prompt me to allow questionable traffic? Do I get some kind of alert. What about security settings? Does that affect the fiewall???? What is the demiliterized zone???? The nice graphical interface does not answer all those questions.
 
Old 02-05-2006, 03:57 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by sirius57
I need to know what each zone should be set for and how the firewall works
well, the GUI is just a front-end for the iptables program, so if you wanna learn how it works then reading-up on iptables will do you lots of good...

as for the zones, well, a very common setup is the one with 3 zones... each zone corresponds to an interface, mind you, so we are talking about a box with 3 network cards in it... typically the zones in such a box are set as:

- External/Internet Zone
- LAN (Local Area Network)
- DMZ (De-Militarized Zone)

in a nutshell, new incoming connections are blocked in the EXT and LAN, while some incoming connections are allowed in the DMZ... the idea being that you don't want anyone on the Internet to be able to connect to anyone in your LAN, but you DO want them to be able to connect to the servers in your DMZ... and that's an important point: DMZs are usually where servers are placed...

since the boxes in the DMZ receive incoming connections from the outside world, they have their own amount of risk and stuff, so by having your servers on a zone SEPARATE from your LAN, you insulate your LAN from problems that might arise in the DMZ... like, say that (for example) a server on your DMZ gets hit by a wicked worm - the worm won't be able to propagate itself to your LAN, cuz it's in a different zone and you've (of course) implemented iptables rules which don't allow servers on the DMZ to be initiating connections to your LAN...

in fact, things like web servers and stuff like that on a DMZ don't even need the ability to establish any connections AT ALL - all connections will be initiated by the clients, which come in through the external/internet interface and get routed to the DMZ... so a cracker who cracks into your web server for example wouldn't be able to use it to connect to the outside world even if he has root access, cuz he still has to deal with the firewall... of course there's always variations and exceptions but you get the point...

Quote:
does it prompt me to allow questionable traffic? Do I get some kind of alert
you mean like zonealarm?? i'm not sure...

what i can tell you is that since it's just a front-end to iptables, it will probably give you the option of logging all unwelcome packets, so yeah, i assume it will give you the ability to see the syslog through the GUI... even if it doesn't, it's easy to look at the /var/log/syslog file on your own...

Quote:
What about security settings? Does that affect the fiewall????
not sure what you mean, perhaps it's a suse-specific question, so i'll let someone with suse knowledge answer that...

Quote:
What is the demiliterized zone????
see my description above, and also check this link:

http://en.wikipedia.org/wiki/Demilit...28computing%29

Quote:
The nice graphical interface does not answer all those questions.
that's okay, the nice LQ community does...

Last edited by win32sux; 02-05-2006 at 04:04 AM.
 
Old 02-05-2006, 02:05 PM   #5
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
Ok, that is the primer that I need. I will read all the references and try to apply what I learn to my system. Is there a malware program that can be recommended to scan for trojans,ect.? A graphical front end would be preferable, but I am also comfortable with the command line. Would tucows be a good source?
 
Old 02-07-2006, 07:20 PM   #6
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I read the links. My only firewall setting is local area network, since my box is not a server and the router would be the dmz? I enabled the usual protocals like http and https. There is a check box in the firewall gui to 'protect the internal zone'. When I checked it, I could not share files. Does that check box sound like a firewall lock down for the internal zone? If I was to read the system file for traffic, what message would alert me to blocked traffic from the firewall?
 
Old 02-07-2006, 07:59 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
what box are you doing this on?? the router or a client on the LAN??

how many interfaces do you have??
 
Old 02-08-2006, 07:13 PM   #8
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I am trying to configure a desktop pc (a client on the lan). I am not doing anyhting to the router. I have a network between two pc boxes, one linux, the other xp via linksys router which is connected to a cable modem.
 
Old 02-09-2006, 11:28 AM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
well if it's just a client on the LAN and you have a router/firewall for the LAN then you don't really need to set-up any firewall on the client to protect you from the external network...

sorry that i can't be of much assistance with this, as i have no idea how your graphical front-end works or what it's doing... it's best if someone who actually has used the suse firewall to jump-in and assist you... good luck...
 
  


Reply



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
WLAN Hardware not set up properly SeniorSE Linux - Wireless Networking 1 06-25-2005 06:01 AM
How to set up the firewall properly with SuSE 9.1? jnassiri Linux - Security 2 08-02-2004 11:51 PM
Firewall seems configured properly, but still can't open ports needed jslmg Linux - Networking 4 07-13-2004 11:08 AM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM
looking to set up a firewall Penguin Dropout Slackware 8 12-21-2002 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:21 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
Open Source Consulting | Domain Registration