You are not logged in.

#1 2007-04-14 09:36:05

moustic
Member
Registered: 2007-04-08
Posts: 43

Guarddog and/or iptables troubles !

Hello,

I have configure guarddog to protect my pc and i have put the iptables daemon in rc.conf file but when i restart my pc to test the iptables rules it's impossible to connect to internet !

To connect me to Internet, i have to launch guarddog and to record again my rules !

Please help me.

Thank you.

smile


On parle toujours mal quand on a rien à dire.

Offline

#2 2007-04-14 10:39:08

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Guarddog and/or iptables troubles !

did you run /etc/rc.d/iptables save after configuring everything with guarddog? I needed to do so after configuring iptables with firestarter...

Offline

#3 2007-04-14 14:24:54

moustic
Member
Registered: 2007-04-08
Posts: 43

Re: Guarddog and/or iptables troubles !

I tried but it don't work.

iptables -L give me the iptables rules so it seems that the problem comes from guarddog ? A guarddog bug ? Perhaps a misconfiguration of my rc.conf

My rc.conf:

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="fr_FR.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Paris"
KEYMAP=fr-latin9
CONSOLEFONT=lat9w-16
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(forcedeth)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="charlotte"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng iptables network netfs crond dbus hal alsa cups kdm)

neutral

Last edited by moustic (2007-04-14 14:34:34)


On parle toujours mal quand on a rien à dire.

Offline

#4 2007-04-14 16:14:11

moustic
Member
Registered: 2007-04-08
Posts: 43

Re: Guarddog and/or iptables troubles !

With /etc/rc.d/iptables stop, my network works !

My guarddog rules are wrong...

roll

Last edited by moustic (2007-04-14 16:52:57)


On parle toujours mal quand on a rien à dire.

Offline

#5 2007-04-14 17:01:49

moustic
Member
Registered: 2007-04-08
Posts: 43

Re: Guarddog and/or iptables troubles !

I think that the problem come from guarddog because with all rules my network don't work again. It's a guarddog bug.

If you have some idea !

sad


On parle toujours mal quand on a rien à dire.

Offline

#6 2007-04-23 17:53:19

Samuel Cengel
Member
From: Slovak Republic
Registered: 2005-11-19
Posts: 55

Re: Guarddog and/or iptables troubles !

Offline

Board footer

Powered by FluxBB