I have a Windows Server 2019.
The server has 3 NICs.
- NIC is the internal network.
- NIC is an external router into the internet with a defined standard gateway (FritzBox)
- NIC is an separate external IP address where I want bind an IIS to. With its own standard Gateway.
I created a new site in my IIS that is bound to the third NIC.
But it seams that when I make an request from the outside, the server answers via NIC 2.
Of course the routing is set with a low metric for NIC 2 and a higher metric for NIC 3. Because I want that all normal traffic uses NIC 2. and not NIC 3.
Edit: NIC 3 is only used by http and https (so I only have the IIS listening to it).
The problem:
- Contacting the IIS via NIC 1 (using the IP of NIC 3) works.
- Contacting the IIS via NIC 3 (from extern) doesn't work.
Edit 2:
- Setting the metric of NIC 3 below the metric of NIC 2 causes the IIS to respond from intern and extern. But all traffic now runs via NIC 3 (I don't want this)
- Setting the metric to automatic or NIC 2 below NIC 3 causes the problems named above.