Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 09:48:31 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Matt Simerson <freebsd@blockads.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Is natd the right tool?
Message-ID:  <20020411094809.Q30674-100000@resnet.uoregon.edu>
In-Reply-To: <70BBF3C4-4D4F-11D6-8065-00306553B5E4@blockads.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020411094809.Q30674-100000>