FireWall - DNS - (port) forwarding

Hi,

how can you make the one computer in the network reachable from the outside, but using an already used port?

My NS logs on to a dynDNS service and is more accessible from outside, I have the following ports free: 80; 443,980,9090 and some more SMTP, etc …
Now I would like to make another computer that is in the local network befeindet reachable from the outside, he should listen to the port 80.
Actually, I use a different port: 8080, which I simply forward internally in the firewall.
Now, however, should no longer be forwarded by port, but by name?

NS = 192.168.20.100 (A_external.domain.com)

Client = 192.168.20.111 (B_external.domain.com)

Both are to listen on the port 80.
Is it possible?
If so, how do you configure the firewall?

Thank you!

LG
Gerald

You should have two IP public addresses on RED Interface. So B_External.domain.com can be managed to that port. And can be used “another” port 80.

1 Like

Good tip.
But how should this be realized?

Port forwarding, the firewall, knows nothing of names. It only works on IP addresses. So if you are directing 2 different domains to the same (red interface) IP, it’s never going to work.

Cheers.