Forward Same Ports to Multiple IPs [closed]

I am trying to forward a series of ports to my computer. I have several computers in my network, and believe my router randomly assigns a port to each computer that connects to it. As I don't have a static IP for my computer, I was wondering if it is possible to forward the ports to all the IPs?


Technically what you state is possible. A host can accept incoming traffic on a given IP address+TCP/UDP port, and be programmed with forwarding that same traffic to mutliple IP addresses.

With TCP this would not do anything useful. TCP is a connection-oriented service depending on sequence numbers and state maintained between two, and only two hosts - it is really meant for only two hosts to communicate. Exception: if you wanted a second host to record traffic but not participate, then this would be useful.

It's possible to design something using UDP in this method but the aboveboard protocol would have to support that. HTTP, for example, depends on the connection-oriented properties of TCP. Some peer to peer protocols may operate this way, but not all protocols that use UDP do.

Multicasting supports this but only "one-way" - multiple hosts can "sign up" to a multicase IP and receive traffic, but sending is not covered.

So, to summarize, port forwarding is a 1-to-1 affair. You need to have a static IP or use UPnP if your router supports it. @Moab provides a good solution - on most home routers you can limit the range of IP addresses DHCP hands out (e.g. 192.168.0.2 through 192.168.0.126), and then manually set your system to something outside of that (manually set your system to 192.168.0.129).