Opening/verifying UDP port
Right, I've been looking into this for quite a bit now and I'm totally lost. I need to open a specific udp port or verify that it has been opened by the application firewall (let's call it port X). The situation:
- I've added the application to the firewall and allowed incoming connections
- When I start up the network server inside the app, the firewall log shows the app is listening on port X with proto=6 (I assume 6 is TCP, couldn't find a list of these numbers on the web)
- Some of the network functionality works and I can verify the inbound TCP connection on port X using telnet and the console inside the app
- Remote clients aren't able to connect to my server suggesting there's a problem with UDP on the same port. Both TCP and UDP on port X are required for remote clients
- Both TCP and UDP for port X have been forwarded on the router
I tried to connect to the UDP port using nc, but as nc always indicates a successful connection when using UDP and as I don't know the application's own protocol/packet system, I can't get any response from the server to indicate that it is actually accessible.
There are a lot of suggestions on the web to use ipfw, but by default the only rule in ipfw is to allow all connections so it wouldn't interfere with the application firewall so that's no use.
I do like the application firewall idea, but once again I find that by trying to make things more user friendly, Apple has broken some of the functionality by removing the good old option of doing things manually. So if anyone has any ideas, all help is most welcome.
MacBook Pro 15, Mac OS X (10.7.2)