From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
To: gabrix <gabrix@gabrix.ath.cx>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables and hostnames.
Date: Wed, 04 Oct 2006 11:02:38 -0400 [thread overview]
Message-ID: <1159974158.3036.22.camel@localhost> (raw)
In-Reply-To: <4523B349.20009@gabrix.ath.cx>
On Wed, 2006-10-04 at 15:12 +0200, gabrix wrote:
> What is the reason why if i use this iptables:
> > # (APACHE)
> > $IPT -A INPUT -p tcp -d x.gabrix.ath.cx --dport 80 -m state --state !
> > INVALID -j ACCEPT
> > $IPT -A INPUT -p tcp -d tor.gabrix.ath.cx --dport 443 -m state --state
> > ! INVALID -j ACCEPT
> the hostnames you see get resolved to their pubblic ips.This is on an
> inside lan pc but this doesn't happen on the gateway pc right before it
> where iptables says it can't resolve the hostnames .Why this ?I have
> debian sarge kernel 2.6 on all machines.
> Thanks !
What is the DNS for the gateway? Have you allowed the gateway to send
DNS in the OUTPUT chain? - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com
If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net
prev parent reply other threads:[~2006-10-04 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 13:12 iptables and hostnames gabrix
2006-10-04 15:02 ` John A. Sullivan III [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1159974158.3036.22.camel@localhost \
--to=jsullivan@opensourcedevel.com \
--cc=gabrix@gabrix.ath.cx \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox