LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2004, 04:43 PM   #1
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
Is iptables really needed for home user?


I've been reading a lot in the forums and I've got to ask if iptables is something that I should configure on a home system that is already running Suse's basic firewall. I don't run/host any services on my machine and am only doing dialup now, but will be getting broadband soon.

Should I worry or am I protected enough?

I've seen several post about creating the iptables config, but if I were to setup this on my machine how to I load it at boot up and if I'm dial up how is "my" dynamic address put into it?

Thanks
 
Old 08-06-2004, 06:15 PM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
1. You can never be too sure whether you need a firewall. Sure, now you may not need one, but you can't tell if future apps or packages you install may open up ports.
Fail on the safe side and install it anyway. It takes < 1mb.

2. iptables isn't just for firewalling. If you're intending to share your broadband bandwidth, you will need iptables for NAT.

3. Typically you will configure the firewall to block by the interface (on dialup, usually this is ppp0), so whatever dynamic IP is assigned to you is typically not an issue. Go to www.tldp.org and search for iptables HOWTO to accomplish this.

Last edited by ugenn; 08-06-2004 at 06:20 PM.
 
Old 08-06-2004, 10:46 PM   #3
nex6
Member
 
Registered: Apr 2004
Distribution: Ubuntu;Debain;Redhat
Posts: 46

Rep: Reputation: 16
It really depends,

for example if your behind a Linksys router, which has a built in firewall maybe not(as long as you setup good hosts acl's)

if your connected directory to the NET then yes. for sure.



-Nex6
 
Old 08-07-2004, 03:45 AM   #4
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Re: Is iptables really needed for home user?

Quote:
Originally posted by ithawtewrong
I've seen several post about creating the iptables config, but if I were to setup this on my machine how to I load it at boot up and if I'm dial up how is "my" dynamic address put into it?

Thanks
You can edit rc.firewall file for loading iptables rules at boot. And if your IP address is dynamic you could use interface ppp0 (or what you use) for blocking or accepting packets. For example the rule below will allways work. Because whatever your ip will be the packets will come through interface ppp0.. All will be logged.

Code:
iptables -A INPUT -i ppp0 -p tcp --destination-port ssh -j LOG
Hope this helps..
 
Old 08-08-2004, 06:08 PM   #5
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
re: is iptables needed for home user

I suggest that you give iptables a try, because when I first tried it, I was amazed at the number of attempts to get into my dialup connection.

Monitor your /var/log/messages and you too will be amazed.
 
Old 08-09-2004, 08:33 AM   #6
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Original Poster
Rep: Reputation: 30
Well thanks for all the replies. I'll have to work on getting all that setup.
 
  


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
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM
Home Webserver Help Needed jawaking00 Linux - Networking 2 11-18-2005 03:18 AM
home network help needed munkie_poo Linux - Networking 1 03-14-2005 11:35 AM
PHP List /home/'user' then finger 'user' Caboose Programming 1 09-22-2004 04:12 AM

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

All times are GMT -5. The time now is 12:29 PM.

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