LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-14-2006, 08:19 AM   #1
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Rep: Reputation: 30
Unhappy Need firewall functionality on PC


This is a n00b question, I know, but I'm kinda in a crunch and haven't had to deal with this before. I have a box that I built for a friend, PIII with Ubuntu. I don't know if they're going to continue with dial-up or switch to broadband - but I need to put something on this box that will give them SOME protection vs. open internet ports. I am basically looking for something that would do the same job as Windows Firewall on a Windows box.

I don't know, maybe it's as simple as closing ALL of the ports on the box and only leaving the ones open for HTTP and SMTP/POP, since that's all they want the box for, anyway. And I should know those ports and how to close them. But I'm kinda under the gun here and don't have a lot of time to do the research - IF I CAN GET THIS DONE. Of course, if I can't get an answer, I'll have to put them off for a few more days until I have the time do get the reading done. Gotta love two small kids tag-teaming Daddy while he's trying to work.

Anyway, if I can get some help, I'll be grateful. And if this post gets trashed or flamed, I'll understand.

*** EDIT ***
One thing I forgot to mention, all this friend is going to have is the one box connected directly to the internet. There is no second box or router to act as a firewall.
*** END EDIT ***

Last edited by gvaught; 04-14-2006 at 08:38 AM.
 
Old 04-14-2006, 08:47 AM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
Well I would recommend using IPTables on that Ubuntu box. Most likely the support is enabled by default in the kernel. I know you don't have time to read but there are many prebuilt scripts on the internet that you could use. If you are looking for something simple I would just recommend dropping all incoming connections that are NEW and allow only ESTABLISHED,RELATED connections back in. If you need the actual rules, let me know. But like I said google will contain most of your answers
 
Old 04-14-2006, 08:48 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Install a software like Guarddog which will help you to easily configure the firewall which is included in the Linux kernel.
 
Old 04-14-2006, 08:49 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You can do this with an iptables firewall - see:
http://www.linuxquestions.org/linux/...g/Linux_Router
 
Old 04-14-2006, 08:52 AM   #5
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
Many thanks to Centinul and uselpa - both had good suggestions, IMO.

I believe I'll go with the IPTables option though.

And, just to clarify, I DO have time to read up on how to implement AN option, just not the time to sit and read through MANY options to determine what is available, which is best, which is easiest, etc.

So, I'll be doing a bit of reading on IPTables this afternoon and hopefully get the computer to these folks before Easter...
 
Old 04-14-2006, 08:53 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Guarddog does IPtables, just in a very simple way.
 
Old 04-14-2006, 09:02 AM   #7
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
Here is the Holy Grail of IPTables tutorials. Good Luck and post back with questions.
 
  


Reply

Tags
firewall, iptables


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
Clipboard Functionality f1dreamer Linux - General 3 04-18-2005 01:46 PM
I need MS Access functionality! trey85stang Linux - Software 15 05-25-2004 03:40 PM
L.E.A.P. functionality in linux (as in, what is it?) tcaptain Linux - Wireless Networking 5 12-11-2003 04:19 PM
iptables functionality Mux Linux - Networking 2 05-21-2002 07:14 AM
NAMED functionality Nezar Linux - Networking 1 07-17-2001 03:41 AM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration