Re: [SLUG] NAT: It works!

From: Russell Hires (rhires@earthlink.net)
Date: Wed Jan 16 2002 - 22:52:32 EST


> Hmm, look at /etc/syslogd.conf and see where it's configured to log
> "info" log messages. That's where any iptables messages should get
> logged with the script I sent.
Well, I don't have a /etc/syslogd.conf, though I do have syslog.conf (I'm not
being persnickety, since these little differences can mean a lot in Linux),
and it says where to put the messages...
> All the debian systems I've seen put "info" messages in
> /var/log/messages and /var/log/syslog. Are you running syslogd and
> klogd?
And yes, I checked. I'm running these two daemons...

What a puzzle!

Thanks for the help!

Russell

> > Well, the DNS problem was only on the internel machine. The Firewall
> > machine doesn't have DNS problems at all...only when I enable the script.
> > Is there a way to disable it?
>
> The way to clear the iptables rules is to do something like:
>
> iptables -F
> iptables -t nat -F
>
> (look near the top of the script I posted to the list for the actual
> commands - there's also a "-X" which clears out any user-defined chains,
> although I don't think I made any in that script.)



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:08:13 EDT