Is it worth trying to use a Netbook as a firewall?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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... ;-)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.