Community discussions

MikroTik App
 
User avatar
dlabreu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Fri May 08, 2009 10:14 am
Location: South Africa

Redirect Trafic for conference Urgent!!!

Sat May 08, 2010 6:41 pm

Hi Guys!


I will run a network with about 200 Computers , the Core Router it will be a RB433, on this network there is 4 computers that must have no access to the internet , they must just visit one website .

How do i setup the mikrotik for every time that the user put on the browser any website it redirect to the website that i want?


Please help me guys.


Thanks


Daniel Abreu.
 
jcem
Member Candidate
Member Candidate
Posts: 137
Joined: Sun May 24, 2009 4:41 pm
Location: Grebbestad, Sweden

Re: Redirect Trafic for conference Urgent!!!

Sat May 08, 2010 7:13 pm

Here is one way.....

copy the 3 lines

change the destination to the webserver you want
and paste(right click) into terminal

/ip firewall nat
add action=dst-nat chain=dstnat comment="" disabled=no dst-port=80 protocol=\
tcp src-address=192.168.2.4-192.168.2.7 to-addresses=xxx.xxx.xxx.xxx

if you just use a bridge, don't forget to enable firewall for the bridge

Takes care of port 80, but not https

RGDS
 
User avatar
dlabreu
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Fri May 08, 2009 10:14 am
Location: South Africa

Re: Redirect Trafic for conference Urgent!!!

Sun May 09, 2010 9:38 am

Hey Man!



Thanks very much for your help.


The rule really work , but the only problem is wend i put the site that i want on the rule and i hit the apply button the mikrotik resolve that name and become a IP, and then redirect me for a webmail page hahaha.

Do you know why?


Thanks

DANIEL aBREU