I have a sort of redundant application, in the sense that it will always attempt to migrate a pair of Flash Media Server connected clients communicating with each other on to a Stratus service assisted connection, so that our FMS server can take a deep breath once in a while. With this logic, it will only connect clients incapable of communicating using Stratus service.
I can see that Stratus does a very good job of setting up peer-2-peer connections, even with firewalls. Certainly a great functionality!
It is because of this, I want to simulate a scenario where one client cannot communicate with the other. I have read a bit on the ports here, and have tried to set up a rule which makes a firewall for one of the clients (both are on a LAN) deny all inbound UDP packets on ports > 1024.
But, still peer connection succeeds.
What rules would I need to make one or both peers incapable to connect to one another, WHILE connecting to Stratus (I need the 'nearID' values obviously to try to connect) itself?
if you have two test computers, you should be able to set up a firewall rule to block UDP from one computer to the other (assuming you have a firewall between them).
if the two test computers are on the same LAN and there's no firewall between them, then if they can connect to Stratus the two computers will be able to communicate directly, since Stratus tells the connecting peer the local LAN address(es) of the target peer.