LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-29-2004, 09:29 AM   #1
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Rep: Reputation: 15
firewall config questions


Hi

I have been scouring the internet looking for information on how to secure my Slack setup ofr use on the internet.

I only plan on using the setup to -

email -

a: Crossover Office Outlook
b: Kontact, maybe evolution to see what they are like.

internet -

c: FireFox

webcam -

d: motion

The resources I have looked at - searching on this site and on the ldp mainly give me information on setting up a system to have a server and a workstation. I have a USB ADSL modem which I wish to use on the same system as the software I will be using for all access.

I have heard there are apps available to configure iptables and ipchain out there but would like to configure them myself if possible.

I guess it is along the lines of -

1: IP address setup - (my internet provider will supply this)
2: Assessing the ports needed for incoming and outgoing traffic specifically for the apps listed above.
3: Ensuring only the services running are those needed. (eg - no apache or sql server if I arent using these which I arent.)

can you tell me where to find a step by step to do this please.

Many Thanks.

Rob
 
Old 05-29-2004, 09:41 PM   #2
jimrt
Member
 
Registered: Mar 2003
Posts: 32

Rep: Reputation: 15
Its a bit complicated, but when I first started playing with iptables, I used this document http://iptables-tutorial.frozentux.n...-tutorial.html

When setting up your firewall I wouldn't worry too much about limiting outbound connections (at least for now, you can also play with restricting outbound traffic later.) Instead, decide what types of inbound traffic you need to allow (i.e. what services do you want your machine to provide to others) and go from there.

This is what I like to start with for a basic firewall on a desktop machine

1. Allow all inbound and outbound traffic on the loopback interface
2. Allow all outbound connections and related connections (i.e. you want to allow incoming traffic realted to outbound connections you've established)
3. DROP all other inbound connections

I would start with something like this, test it, and tweak it as needed
If I can be of any help, please let me know.
 
Old 05-30-2004, 05:46 AM   #3
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 15
Thanks Jim I will give it a go
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
initial firewall config help gfem Fedora 3 01-26-2005 02:03 PM
How do you get to Slackware 9 firewall config? Onox Linux - Software 1 07-02-2003 04:12 PM
firewall config no1d Linux - Software 5 02-28-2003 05:37 PM
config Net2Phone on firewall Han_Solo Linux - Security 2 10-24-2001 05:33 AM
RH 7.1 firewall-config ? zhenwu Linux - Security 9 08-01-2001 04:27 AM

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

All times are GMT -5. The time now is 07:09 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