Unix Technical Forum

Change firewall settings for newbie?

This is a discussion on Change firewall settings for newbie? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I just installed Slackware 9 and need some help with the firewall settings. First how can I tell what ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:19 PM
Carlton Whitmore
 
Posts: n/a
Default Change firewall settings for newbie?

I just installed Slackware 9 and need some help with the firewall settings.
First how can I tell what ports are blocked? Second, how do I unblock them?
thanks,
Carlton.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:19 PM
Mark Hill
 
Posts: n/a
Default Re: Change firewall settings for newbie?

On Wed, 17 Dec 2003 02:22:01 GMT,
Carlton Whitmore <cwhitmoreNOSPAM@NOSPAMaustin.rr.com> wrote:
> I just installed Slackware 9 and need some help with the firewall settings.


Slackware doesn't have a firewall enabled by default. A quick guide to
firewalling and disabling services you don't need can be found here:
<http://slackbook.yoshiwara.org.uk/security.html>

If you find all the iptables stuff confusing, then I suggest you look
for an iptables frontend. (firestater is supposed to be good.)

> First how can I tell what ports are blocked?


One quick way to see what ports are opened/closed is to use nmap. ('nmap
localhost'). To quickly see what services you're running, try top.

> Second, how do I unblock them?


If you're not blocking the port with a firewall, they'll be 'unblocked'
(open) once you run a service (such as apache) on that port.


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:26 PM
David Bolton
 
Posts: n/a
Default Re: Change firewall settings for newbie?

On 17 Dec 2003 02:43:01 GMT, Mark Hill <mark_usenet@yahoo.co.uk> wrote:
>Carlton Whitmore <cwhitmoreNOSPAM@NOSPAMaustin.rr.com> wrote:
>> First how can I tell what ports are blocked?

>
>One quick way to see what ports are opened/closed is to use nmap. ('nmap
>localhost'). To quickly see what services you're running, try top.


Also, don't forget about netstat. Run 'netstat -plant' as root and
you'll get lots of info that'll be a good starting point for securing
your machine. Look down the list of what's running and listening on a
port, decide which you want to do that, and kill the rest. Of course,
make certain you know what exactly it is before you kill anything. In
theory if you only run services that you use (and keep them up to date
and configured properly) you'd never need a firewall. In theory.

Best regards,
David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com