Re: NAT-PMP not honoring requested external port
Re: NAT-PMP not honoring requested external port
- Subject: Re: NAT-PMP not honoring requested external port
- From: "Hamish Allan" <email@hidden>
- Date: Tue, 10 Jun 2008 00:01:35 +0100
On Mon, Jun 9, 2008 at 5:48 PM, Jens Alfke <email@hidden> wrote:
> I'm working on a P2P app, which uses DNSServiceNATPortMappingCreate to
> request a public TCP port mapping from the local NAT (if any). It works
> fine, with one problem: Apple AirPort routers don't appear to honor the
> requested external port number, instead assigning a randomly-numbered port
> every time.
Quick test: try a "dns-sd -X tcp <internal_port> <external_port>" to
see if that works. If not, the external port is probably already in
use. If it does work, look at the source to dns-sd (part of the latest
mDNSResponder suite, available from CVS) to see what you and it are
doing differently.
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden