Page 1 of 1

Redirecting IP Address

Posted: Fri Mar 09, 2012 12:02 pm
by bakra
Hello,

I hope this will be simple :)))

I need to redirect users who type www.test.com (or just test.com) in web browser, to be redirected to 192.168.x.x

thanks in advance :)

Re: Redirecting IP Address

Posted: Fri Mar 09, 2012 12:27 pm
by netWorm

Re: Redirecting IP Address

Posted: Fri Mar 09, 2012 12:28 pm
by kirshteins
You can use this method: http://wiki.mikrotik.com/wiki/How_to_Bl ... sing_Proxy
You will need to specify redirect-to.

Re: Redirecting IP Address

Posted: Fri Mar 09, 2012 1:34 pm
by TheWiFiGuy
Could you not just set a static DNS entry?

Re: Redirecting IP Address

Posted: Fri Mar 09, 2012 2:17 pm
by bakra
perhaps I explained badly...

I installed forum on a local network PC (address: 192.168.2.33) and by typing this address in web browser you are entering this forum, but I want to change IP address with name (f.e. forum.com, this address already exists). So I thought, is it possible to drop request for "real" forum.com and redirect this request to 192.168.2.33 so by typing in web browser www.forum.com I could enter my forum which is in a local network (192.168.2.33).

Re: Redirecting IP Address

Posted: Fri Mar 09, 2012 3:51 pm
by bakra
This is exactly what I want to do.

So, you tell me how to do it.

If possible with CODE.

Re: Redirecting IP Address

Posted: Thu Mar 15, 2012 10:53 am
by jackman
As TheWiFiGuy, already mentioned. If this possible for you to set static dns entry on your RouterOS? And let the Client use RouterOS dns server?

In this case you could set static dns entry on winbox :
ip/dns

or look at

http://wiki.mikrotik.com/wiki/Manual:IP/DNS