View Full Version : [SOLVED] Recommended Firewall Solution - Software
crjackson
June 23rd, 2007, 11:31 AM
Does anyone have any suggestions for a software firewall. I'm running behind a router with it's internal firewall enabled but I would like a software fire wall as well (GUI).
Thanks...
nike984
June 23rd, 2007, 11:59 AM
http://ubuntuforums.org/showthread.php?t=159661&highlight=7z+incorrect+command+line
It's not GUI, but you have the advantage to setup your own firewall by youself,
and you can have whatever function you want.
darknightuk
June 23rd, 2007, 12:00 PM
try this http://www.fs-security.com/
jamesford
June 23rd, 2007, 12:15 PM
firestarter is probably what u want but ive found it totally useless. in any case u got a built in invisible firewall called iptables. it does the job
Cappy
June 23rd, 2007, 12:23 PM
Actually, firestarter is a gui for iptables. It makes it very easy to allow specific ports to open when you need it =)
If you don't actually need to host anything, I would just leave it alone since iptables is enabled by default =)
Software firewalls are a good idea though ... routers aren't firewalls, an actual hacker can get by them. They do stop worms/pings/script kiddies though which is 99.9% of home annoyances.
crjackson
June 23rd, 2007, 02:56 PM
Actually, firestarter is a gui for iptables. It makes it very easy to allow specific ports to open when you need it =)
If you don't actually need to host anything, I would just leave it alone since iptables is enabled by default =)
Software firewalls are a good idea though ... routers aren't firewalls, an actual hacker can get by them. They do stop worms/pings/script kiddies though which is 99.9% of home annoyances.
Okay, so if I'm understanding this correctly, I basically already have a firewall running by default and I only need to tinker with it to open a port (say for my ftp server?). Did I get this right?
And to make adjustments using a GUI front end, just install firestarter?
jamesford
June 23rd, 2007, 03:00 PM
that is spot on
crjackson
June 23rd, 2007, 03:04 PM
EXCELLENT! I was already protected and didn't even know it...:D
jamesford
June 23rd, 2007, 04:04 PM
u can always test ur firewall for example here https://www.grc.com/x/ne.dll?bh0bkyd2
crjackson
June 23rd, 2007, 04:15 PM
u can always test ur firewall for example here https://www.grc.com/x/ne.dll?bh0bkyd2
Great thanks. I'll do that this weekend.
crjackson
June 23rd, 2007, 09:09 PM
u can always test ur firewall for example here https://www.grc.com/x/ne.dll?bh0bkyd2
Okay, so it says I faild stealth because of port 113 is closed. Do I need to fix this?
Mr_bleu
June 23rd, 2007, 10:03 PM
Are you running a router? If so you can forward the port. http://www.firewallreporting.com/linksysalert.htm
I have a dlink. You can google port 113 and find a bunch of info. I've had mine stealthed for 2 yrs in windows, can't get this thing stealthed completely in linux. My laptop's responding to ping requests but all ports are stealthed.
crjackson
June 23rd, 2007, 10:16 PM
Are you running a router? If so you can forward the port. http://www.firewallreporting.com/linksysalert.htm
I have a dlink. You can google port 113 and find a bunch of info. I've had mine stealthed for 2 yrs in windows, can't get this thing stealthed completely in linux. My laptop's responding to ping requests but all ports are stealthed.
Actually my Linksys just died a few days ago and I got a cheap Buffalo router. The setup interface sucks and it's hard to do anything with it. I wish I had just bought another Linksys. It'll take me 2 days to figure that out. I'll have to wait until I have a day off and some Gin to fight with this thing.
You wouldn't believe how hard it was just getting the Wired connection to work on this thing. The only good thing I can say so far is that it has a good strong wireless signal that never drops any of my laptops. The Linksys ALWAYS dropped the laptops and sometimes the desk tops several times a day...
penguin007
June 25th, 2007, 12:13 AM
This script will drop all unsolicited incoming packets but allow outgoing traffic to innitiate connections. Note you must run it as root (i.e. sudo)
Air tight for home users on a single PC.
# Check that user is root
if [ "`whoami`" != "root" ]; then
echo
echo "** Error **"
echo "You need to be 'root'"
echo
exit
fi
iptables --flush
iptables --flush -t nat
iptables --policy INPUT DROP
iptables --policy OUTPUT DROP
iptables --policy FORWARD DROP
iptables -A OUTPUT -j ACCEPT -o lo
iptables -A INPUT -j ACCEPT -i lo
iptables -A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
fakie_flip
June 25th, 2007, 06:33 AM
The firewall is there by default but not configured to block anything. If you want to configure easily, you can use firestarter.
Corbelius
June 25th, 2007, 08:58 AM
http://www.shorewall.net/
moore.bryan
June 25th, 2007, 09:21 AM
i can't find one better than pectol's ubuntu-firewall (http://rob.pectol.com/content/view/2/1/)...
crjackson
June 25th, 2007, 10:18 AM
Okay thanks - I'll look at all of them.
crjackson
June 25th, 2007, 07:06 PM
The firewall is there by default but not configured to block anything. If you want to configure easily, you can use firestarter.
Does firestarter have to be launched for it to be actively protecting? In other words, when I exit out of firestarter, did I just lose my firewall configuration? Should it be running minimized all the time to protect my system?
fakie_flip
June 25th, 2007, 11:23 PM
Does firestarter have to be launched for it to be actively protecting? In other words, when I exit out of firestarter, did I just lose my firewall configuration? Should it be running minimized all the time to protect my system?
I'm pretty sure it does not have to be open all the time for it to be working because there is a firestarter service that starts up when your computer starts up.
close firestarter and do this command. you will see that the the firestarter service is still running.
ps -ef | grep firestarter
if you want to make sure it is protecting your computer when its not open, then go to a different computer and scan your ip with nmap.
sudo apt-get install nmap
sudo nmap 192.168.1.100
replace that ip with the ip of your computer on the lan. try uninstalling firestarter and then scanning your computer from a different computer on the lan. now you should see lots of stuff opened. that shows that firestarter is working.
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.