Hi,
Recently I implemented iptables with NAT on my linux laptop. I share my internet connection with my two flat mates. The problem is that the Yahoo Webcam broadcasting doesn't work from their PCs. I researched and found out that I will most likely have to add port forwarding for atleast port number 5100. I can do that. However the problem with iptables port forwarding (as far as I know) is that I can only statically forward a port to one internal IP. What about the other one? When he wants to use his webcam, I will have to change the rule to forward 5100 port connect requests to his address.
Apart from this, when I boot XP, the port forwarding is done automatically. I want to know how is it possible. I mean how XP knows which internal IP to forward port 5100 to. I did not make any special settings except for enabling ICS.
I understand that theoretically it won't be possible for all of us to broadcast the webcam at the same time. This should be true irrespective of the OS at the gateway (let me know if this is not the case). I am interested in knowing if iptables can be configured in such a way that it forwards the required ports to correct IPs automatically.
I am sure there will be a number of people out there who would have come across this problem before.
Thanks a lot for your time and thanks in advance for your suggestions.
--cyberjun