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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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 |
| ||||
| 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 |