Port nr script in text format

Hi

Playing BF3 over wireless connection with multiple WAN interfaces gives me nightmares. Either punk buster of BF3 bombs out. Most of the time it is punk buster that gives me the error. "ERROR NO PACKET RECEIVED " To bypass this i created a rule to forward all my traffic ( udp and tcp to certain WAN. That sorts out the punk buster problem. The problem is without the rule it will send data via 3 or 4 wan connections and punk buster sees it as another connection - other ip address I want to monitor the ports that are being used by specific internal ip - by BF3 and punk buster as i know the specific internal ip address but I’m not sure what ports are being used. If it is possible to write script to log the specific port nrs from internal ip in txt doc for me to view so i can monitor port numbers for say 1 hour. PCC also drops connection but not that often. The reasoning behind this is that i want to force certain ports to use a specific wan. This will most probable be a better way as to create rules for every internal ip that wants to play BF3

Help would be really appreciated in this.