Community discussions

MikroTik App
 
enrique
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Mar 30, 2006 12:33 pm

navigate only to one internet page

Thu Sep 04, 2008 1:40 pm

hello all.

I want your help.

I have a RouterBoard as bridge transparent AP, simple with not conflict, no hotspot, no web proxy and totally open.

ADSL-----RB AP))))))))) wireless user.

user are connected via wireless. ´till here everything is working fine. Now I just want those user just to see one internet webpage and others drop

for example, they open google.com and no other one, just google.

in firewall, what is the the rule that apply this goel?

thank you in advance
 
User avatar
Egate
Long time Member
Long time Member
Posts: 555
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: navigate only to one internet page

Thu Sep 04, 2008 3:09 pm

Not going to give every thing, read manual. Just outline. Ping http://www.google.com to get ip of google. In firewall filter rules make rule accepting google ip in dst address and after that rule that reject ip 0.0.0.0/0 in dst rule. Important not Src rule or you will lock out yourself .

I would however suggest you use proxy, very easy to reroute every web page to go to google instead, no matter what web page are entered in browser. This way no page unreachable error, just google page.
 
enrique
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Mar 30, 2006 12:33 pm

Re: navigate only to one internet page

Thu Sep 04, 2008 5:24 pm

thank you egate.

one more thing after the first rule, the reject one how it would be?

I mean the second rule will be like this first one, but change actio to drop. is that right?

/ip firewall filter add chain=forward dst-address=209.85.129.99 dst-port=80 protocol=tcp action=accept
/ip firewall filter add chain=forward dst-address=0.0.0.0/0 dst-port=80 protocol=tcp action=drop
 
enrique
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Mar 30, 2006 12:33 pm

Re: navigate only to one internet page

Thu Sep 04, 2008 7:15 pm

it is done. I did it.

RB have to be in routed mode, no bridged.

thank you all