LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 09:19 AM   #1
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

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 09:38 AM.
 
Old 04-14-2006, 09: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, 09:48 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
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, 09:49 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can do this with an iptables firewall - see:
http://www.linuxquestions.org/linux/...g/Linux_Router
 
Old 04-14-2006, 09:52 AM   #5
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Debian GNU/Linux 8 (jessie)
Posts: 199

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, 09:53 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Guarddog does IPtables, just in a very simple way.
 
Old 04-14-2006, 10: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 02:46 PM
I need MS Access functionality! trey85stang Linux - Software 15 05-25-2004 04:40 PM
L.E.A.P. functionality in linux (as in, what is it?) tcaptain Linux - Wireless Networking 5 12-11-2003 05:19 PM
iptables functionality Mux Linux - Networking 2 05-21-2002 08:14 AM
NAMED functionality Nezar Linux - Networking 1 07-17-2001 04:41 AM

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

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