I'm running a couple of FreeBSD servers that act as a gateway for 5000+ nodes and I'm trying to solve the infamous PlayStation NAT Type 3 problem on my network.
It seems some games on the PS network uses a decentralized approach where one of the players is picked as the host. This causes problems in a situation such as mine where you have many people trying to play using the same incoming port number and public IP address. The firewall changes the incoming port to the next available port number because there are more than one host on the same public IP address. It’s explained here:
I’m currently looking into an Application Level Gateway for FreeBSD similar to Netfiliter that is used for Linux as a possible solution. I’ve read that I could possible divert traffic to certain PSN IP and Ports to handle the PSN traffic in a way that It would work in a PAT environment.
I’ve recompiled some kernel options with ipfw, dummynet, and ipdivert. I was thinking that ipfw-classifyd could help with resolving this issue. Does anyone have any information that may be useful in my quest?
It seems some games on the PS network uses a decentralized approach where one of the players is picked as the host. This causes problems in a situation such as mine where you have many people trying to play using the same incoming port number and public IP address. The firewall changes the incoming port to the next available port number because there are more than one host on the same public IP address. It’s explained here:
netnix.org/2011/09/06/understanding-ps3-natStrict: You will get a “Strict†NAT type if your RG is using Port Address Translation (PAT) which is part of NAT. PAT happens when you have multiple PS3 devices sharing the same public IP address. When a PS3 attempts to connect to a host it allocates a source port for the communication – if it is the only device using this source port then NAT will use this source port as well. However, if multiple devices use the same source port then the PAT function will change the source port. This is what causes a “Strict†NAT type and can limit your ability to join games and other features like in-game chat.
I’m currently looking into an Application Level Gateway for FreeBSD similar to Netfiliter that is used for Linux as a possible solution. I’ve read that I could possible divert traffic to certain PSN IP and Ports to handle the PSN traffic in a way that It would work in a PAT environment.
I’ve recompiled some kernel options with ipfw, dummynet, and ipdivert. I was thinking that ipfw-classifyd could help with resolving this issue. Does anyone have any information that may be useful in my quest?