Imagine I have 10 different domains. All these domains have an A record to a single IP Address.
There are ten different services hosted on this one IP. Let's assume they listen from port
:90. The default port of the used protocol is
:80 and I can't force the users to append an
:82 to the domain name.
And here's the problem: I want to internally forward the
:80 depending on the used domain name.
I googled around and came across iptables. Is this what I'm looking for?