LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2015, 12:27 PM   #1
chaospup
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
Is it worth trying to use a Netbook as a firewall?


Hi LQ,

I'm a newbie to the forums and to Linux in general. I've had a lok on the forum and on the net in general, and I'm hoping someone can give me some advice.
I have a netbook at home that I've been using purely for practicing with Linux, and I was wondering if it is worthwhile or even possible to have it configured as a firewall for the rest of my network? I realize that the single ethernet port will be an issue, but besides this is there any reason it wouldn't be possible? From my surfing the distro I've seen mentioned most often related to anything I'm looking for is openBSD - is this the best solution?

Many thanks!
 
Old 08-25-2015, 05:31 PM   #2
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,019

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Hmm, you already realized that having only one ethernet port will be a problem, why do you need other reasons?

You could probably use the ethernet port to connect to WAN and get the wifi adapter to work as an access point, but it would be a rather cumbersome way to achieve something that other devices are simply better suited for.

If you want a linux based and flexible / configurable firewall consider looking into OpenWRT. Have a look at their wiki and find a recommended router to buy and put OpenWRT on it.

It will come with a preconfigured firewall that you can adapt to your needs. The configuration language is simpler than iptables, but you can also get it to include iptables scripts.

And guess what, it will have more than one ethernet port... ;-)
 
Old 08-25-2015, 05:40 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Some of the firewall distro's run on almost no resources. Some would let you use a single nic. A usb nic wouldn't be much either. I think it would be at least a good experiment and learning lesson if not a good way to protect your lan.
 
Old 08-26-2015, 08:38 AM   #4
chaospup
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the advice folks. Obviously I have some more research to do, but it's maybe still worth trying as a purely educational project.

Thanks!
 
Old 08-26-2015, 12:54 PM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,520

Rep: Reputation: Disabled
Welcome aboard.
 
Old 08-26-2015, 04:11 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Oh, yes. Welcome to LQ.

There are a number of choices in firewalls that use BSD as a base. It is sound and well tested in my opinion.

Joe_2000 points out a few good things too. I just bought a cheapo DD-WRT new router for $11.
The second idea is the use of a second nic. That is where I meant you could buy a $8 usb nic adapter and run two nics. Many of the distro's have a red and green type nic where green is lan and red is wan. Most can use a single nic but some can't easily.
 
  


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
MSI netbook Wind L1350 SD card reader with Ubuntu Netbook Edition 10.04 Cody Morgan Linux - Laptop and Netbook 0 06-15-2010 06:21 PM
LXer: HP breaks the netbook mold with the Mini 1000 and MIE Linux netbook LXer Syndicated Linux News 0 10-31-2008 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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