From owner-freebsd-hackers Thu Apr 11 9:48:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 7A74837B404 for ; Thu, 11 Apr 2002 09:48:09 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g3BGmVH31190; Thu, 11 Apr 2002 09:48:31 -0700 (PDT) Date: Thu, 11 Apr 2002 09:48:31 -0700 (PDT) From: Doug White To: Matt Simerson Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Is natd the right tool? In-Reply-To: <70BBF3C4-4D4F-11D6-8065-00306553B5E4@blockads.com> Message-ID: <20020411094809.Q30674-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 11 Apr 2002, Matt Simerson wrote: > natd -n fxp0 -redirect_port udp 127.0.0.2:53 192.168.7.251:55 > > However, doing so simply get's me a connection refused when I send it a > query like this: > > matt@matt: {102} % dig -p 55 @192.168.7.251 www.foo.com > > ; <<>> DiG 8.3 <<>> -p @192.168.7.251 www.foo.com > ; (1 server found) > ;; res options: init recurs defnam dnsrch > ;; res_nsend to server 192.168.7.251: Connection refused You need to reflect the TCP port as well. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message