This is a simple one (I hope), just need a nudge in the right direction.
I want to forward data on the http/https protocol to a specific server depending on the port being used.
For instance, say my local MikroTik's IP address is 192.168.88.1
If a PC on my network attempts to access say, port 500, i want to be able to redirect that traffic to an alternative server.
So if a PC (say 192.168.88.2) types this in a browser: http://192.168.88.1:500/myfolder/public/index.htmI want the mikrotik to forward/redirect this traffic to another server, say http://someServer.com:500/myfolder/public/index.htm
I'm still somewhat confused about dst-nat vs src-nat, but I'm pretty sure that I need to use a NAT rule with one of the NAT actions, just not sure which one and how.
If you're interested, the reason for this setup is:
* The client PC does not have direct access to http://someServer.com via the desired link since
* the mikrotik is not the client PC's gateway
* simply routing would therefor not solve this problem
* The mikrotik DOES have access to http://someServer.com via the desired link.
I was able to create an application in VB that solved this problem, but my application only works for simple TCP/UDP connections (like VNC) and not for HTTP.
Regards!