Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-10-2007, 05:29 AM   #1
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,045

Rep: Reputation: 54
iptables + guarddog problem

Hi everyone.

I have a little problem with those 2 programs.

Since firestarter got off the portage tree I decided to give guarddog a try. I set up all the needed rules for having internet as well as msn and irc connections open. The problem comes when I reboot the system.

Although I have a well setup kernel (2.6.18) and iptables loaded at init script, I can't get any connection out. It's not since I start again guarddog and apply again the rules that I have connection. So what I did was:

1.- Configure iptables through guarddog
2.- Save the rules
3.- iptables-save
4.- Reboot computer

No luck. It seems like iptables is not loading all the needed modules to let internet go through iptables. Only when I load again guarddog and apply again the rules it loads a few extra modules (I'm at work, can't remember exact modules) and then everything works like a charm.
Is quite annoying having to run eveytime guarddog just to hava the rules re-applied.

Any hint on solving this?

Thanks in advance
Old 08-10-2007, 12:27 PM   #2
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
How do you know it is the modules that are failing to load?

Is this PC a gateway device? If so does Internet access from the gateway device and the PCs behind it not work?

Just curious...
Old 08-13-2007, 11:35 AM   #3
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,224

Rep: Reputation: 56
1.- Configure iptables through guarddog
2.- Save the rules
3.- iptables-save
4.- Reboot computer
What does step 3 do? I use Guarddog and have never had to do that command.

Guarddog save the rules as /etc/rc.firewall. If you need to stop or restart the rules there's two ways.

1. In Guarddog's interface, under Advanced, is a checkbox to disable the firewall. Check it off, Apply, check it back on, Apply again.
2. From the commandline:
/etc/rc.firewall stop
or /etc/rc.firewall restart

If #2 works you could add it to a startup script. You mentioned previously using another program. Could there be a script from it, similar to /etc/rc.firewall, somwhere that's conflicing?

Last edited by dracolich; 08-13-2007 at 11:38 AM.


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
If I config Iptables with guarddog in KDE and then. M$ISBS Linux - Security 2 06-01-2006 09:20 PM
IPtables/Guarddog blocking to much. How do I fix this? M$ISBS Linux - Security 7 11-14-2005 10:42 PM
UT2004, Guarddog/iptables, and LAN games - ?? achallenger1 Linux - Games 3 09-19-2005 01:52 PM
Failed Dependencies for Guarddog: Iptables Electronkz Linux - Security 1 04-27-2004 04:42 AM
rsync through Guarddog/IPTables on Gentoo Chip D Linux - Security 3 01-05-2004 06:40 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration