Hey guys, i am wondering if it is possible to monitor a client connected to the router, and if a certain network port (or multiples) are being used, execute a script? I think nmap or netcat are no help because the port is in use and not open. Maybe something with iptables/monitor is possible? Background is, i want to listen for a specific connection (game) and then invoke a different bandwidth limiter setting. Check again every x minutes, if the game is closed (port no longer in use), restore default bw limiter settings. Also, it probably doesnt help but the game in question (Battlefield 3) is using mostly UDP ports. TCP ports seem to be chosen at random.