Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2011
Many TCP connections through one port (iptables or C?)
The client and server are expecting the commands (play, pause, etc) via a TCP connection. If this session is broken, the client and server both reset (don't want this).
Can only have a single TCP bind on a port right? We were thinking of having a listener on the port required. This listener could exec iptable commands. Is it possible to use iptables to redirect incoming traffic from one port to another based on mac address? (each client can only play one video at once, as a spec).
What is the best iptables tutorial out there? (if you can redirect based on MAC)
** I noticed the media server we're using (runs in java in linux) can maintain two TCP connections on the same port. Can play two different videos with the same port speced in the URL. Any idea how they'd do this?