Community discussions

MikroTik App
 
rabeulbd
just joined
Topic Author
Posts: 5
Joined: Tue Apr 09, 2013 9:54 am

Redirect Rules

Wed Jul 17, 2013 12:17 pm

Hellow everybody,

I want to redirect all url to one url.
i have created this rules using proxy and this rules can be redirect my expected url but can't retrieved information from this url.
I have faced a series problem. i am trying but every time failed.
please help me how can i fixed it.


Thanks
Rabeul Islam
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Redirect Rules

Wed Jul 17, 2013 5:12 pm

The easiest way to do it is with a NAT rule that will grab all HTTP and send it to a specific IP address rather than using the proxy. The main trick is detecting reliably that the guest has gotten to said website and viewed it (assuming that is what you want to do).
/ip firewall nat
add action=dst-nat chain=dstnat disabled=no dst-port=80 protocol=tcp src-address=<LAN Subnet> to-addresses=<Website IP>
Not sure what else you are trying to do without more information.

Who is online

Users browsing this forum: No registered users and 85 guests