Full Cone NAT using OSX/natd as a router to enable PS3 games?

Hi,
I first would like to describe my configuration:

- MacBook with OSX 10.5.2
- USB HSDPA modem (mobile 3G connection)
- Internet interface ppp0 shared to Ethernet (enabling natd)
- PS3 connecting to Internet via Ethernet, using DHCP
- The PS3 gets NAT3 (it seems it's due to my ISP)

I also tried using a VPN (PPTP) with a Swiss provider:

- Internet interface ppp1 shared to Ethernet
- All traffic makes use of the VPN in network preference
- The PS3 get NAT2

Now the problem: like thousands of people I am unable to play GTA4 online most of the time. All other PS3 internet connections are just fine. One guy in the PS forum said that he solved the problem enabling the "Game mode" in his router. That is better known as the FULL CONE NAT.

Is there any way to mess up with the natd parameters to enable it in OSX as well? I tried using the option "-redirect_port udp <PS3 IP addr>:<port> <port>" but I am not sure about what I did. It didn't change anything anyway. I can't find too much documentation about OSX natd either. The man page isn't enough. Any idea? Some help with natd generally speaking would be appreciated as well. Thanx.

PS: I tried modifying some sysctl parameters as well, without luck. But I don't think at this point they have anything to do with it. monitoring the net it really looks like a NAT problem.

MacBook 2 (Intel), Mac OS X (10.5.2), 2,5GB RAM

Posted on May 18, 2008 5:39 AM

Reply
3 replies

May 18, 2008 6:15 AM in response to Michelasso

the problem with 3G usb modems is that they don't pass the public IP address of the connection to the mac. I noticed this with my huwaii 3g modem. So it is acting like router but there is no way to configure any outgoing ports through it.

Therefore it is difficult run any kind of servers behind this modem.

To check this goto your network preferences and see what IP address your PPP connection has and compare that to the ip address you get at http://whatismyip.com

May 18, 2008 9:03 AM in response to Tim Haigh

yes, the IP address shown outside is different from the one I've got assigned to the PPP interface. The "public" one is 62.13.x.y, while the PPP has 10.37.x.y (it keeps changing anyhow). What I know is that my ISP (H3G) sets a NAT3. Other mobile ISPs in Italy (Vodafone) have NAT2.

I thought the ISP was doing some kind of P2P filtering as well, but as I said even with the VPN that gives me NAT2 the problem, just slightly smaller, is still there. Sniffing the traffic I can see indeed that many incoming UDP packets don't show at all. natd receives the outgoing one, but I get only few "replies" if any.

Before I tried every possible natd parameter without any luck. It seems that one just needs to run

/usr/sbin/natd -interface ppp0

and natd is happy. It routes the PS3/LAN traffic as usual. Anyhow, I inquire about this because some people said that they fixed the problem upgrading the router fw or enabling the "Game mode". I just wonder if there is anything like that in natd. I really don't know what to think anymore. I lost a couple of weeks working on this, and now I am lost.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Full Cone NAT using OSX/natd as a router to enable PS3 games?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.