I have a 2011UiAS routerboard, that serves as my gateway.
I want to add an interface, that would only be used for Microsoft KMS server authentication of the LAN clients (since the bandwidth of the service is abysma otherwisel) !
The interface would have its own static DNS and IP settings and would serve as our connection to a particular telco.
In pseudo code, here is what I am thinking:
IF PACKET FROM LAN INTERFACE WANTS TO REACH “KMS SERVER IP ADDRESS AND PORT” THAN ROUTE TO INTERFACE X.
LET KMS SERVER REACH CLIENTS ON LAN INTERFACE SO THE TCP SESSION CAN FINISH, AND CLIENTS CAN AUTHENTICATE ON DEMAND.
It’s simple policy routing. Connect the second interface and add route to KMS server (or just default one) in another routing table. Mark routing for packets to KMS to use this alternative route. And you’re probably done (unless some firewall rules need adjusting, e.g. if you had some interface based ones which would not allow to use the other interface).
You assume that I am savvy enough to translate what you said into config.
I'll link my cfg export as well as most of the details; could you help me with an actual config pretty please?
Thanks in advance!
Kind regards,
IBR
Target telco router uses a public port with statis public IP addresses available, there is no NAT going on here.
I wish to use ethernet 3 as "to-KMS interface":
Static address: 195.199.158.84 / 29 (already set but disabled)
Gateway: 195.199.158.86
It uses its own DNS servers #These servers should only be used on this interface:
195.199.255.57
195.199.255.58
195.199.255.4
KMS server:
IP: 195.199.255.195
port: 1688
\
Here is my cfg export, I hid some of the details, but they are not related to firewall settings.
I’ve configured what you’ve suggested, but the route seems to be “unreachable”.
Can you take a look at my cfg again? I’ve updated my previous post with the recent changes, and ommited irrelevant lines.