Hello,
I have set up a DNS server so that any internal requests to my webserver get re-directed to the webserver on our internal network. BUT what i would also like to do is redirect the request to another port as well.
E.G.
at the moment i can only do www.internalwiki.com => 192.168.150.200
what i would like to do is www.internalwiki.com => 192.168.150.200:8000
some places call this a web-redirect
Is it possible to do this with RouterOs?
Hello pcunite,
wont this just allow an in-comming request to be re-directed to a different port?
I do already have this functionality due to my DynDns service.
what i would like to do is have this functionality on my internal network without the request having to go out into the internet.
Thanks
Regards
Stuart
I don’t think pcunite’s idea will work, as I understand it clients and server is on local (same) subnet, then it will never hit those rules
I assume when you say you created a DNS server, you do not mean the one on Mikrotik as that will not work.
You can create the below on a proper DNS server, alternatively, you can add these records to each clients “Hosts” file
Once you create the A record, you can try SRV Record, i.e. “_service._proto.name. TTL class SRV priority weight port target.”
Service: the symbolic name of the desired service. Proto: the transport protocol of the desired service; this is usually either TCP or UDP. Name: the domain name for which this record is valid, ending in a dot. TTL: standard DNS time to live field. Class: standard DNS class field (this is always IN). Priority: the priority of the target host, lower value means more preferred. Weight: A relative weight for records with the same priority. Port: the TCP or UDP port on which the service is to be found. Target: the canonical hostname of the machine providing the service, ending in a dot.