You can block an URL by using the Proxyserver in RouterOS... Or just block the IP's of a website by using the firewall filter in RouterOS, and just drop trafic to that IP.
Joined: Mon Oct 06, 2008 6:45 am Posts: 87
Karma: 0
create addresslist of sites that you want to block. now add dst-nat where dst-addresslist is the addresslist of the block sites and and in action choose dst-nat in, to address put 127.0.0.1
Joined: Fri Jan 23, 2009 9:51 am Posts: 198
Karma: 0
Location: Owerri, Nigeria
After blocking the porn, sex sites in web proxy as indicated, i want a situation where anyone dat visits the forbidden site or blocked sites, it will display a custom message to the person.
redirect-to (string; Default: ) In case access is denied by this rule, the user shall be redirected to the URL specified here
_________________ Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
Joined: Fri Jan 23, 2009 9:51 am Posts: 198
Karma: 0
Location: Owerri, Nigeria
fewi wrote:
please dont try such sits here, they will not open
Thanks fewi for your response, are u saying that if i just put this string "please dont try such sites here, they will not open. Thanks" in the redirect-to , it will display it as I put it there.
I need at least a best option to achieve this. Fewi, You can pm at obinna4god@yahoo.com so that I can ask you some other things are relate to MT.
Joined: Tue Aug 11, 2009 2:19 am Posts: 7737
Karma: 327
No. As the manual clearly states you put a URL there. A URL is the kind of thing you would type into your browser address bar.
So the steps are: 1. Procure web server 2. Make website that displays whatever you want it to 3. Figure out URL to get to that website you created 4. Drop URL into proxy configuration
_________________ Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
Joined: Wed Jan 05, 2011 6:10 am Posts: 130
Karma: 0
Hi,
I want to block the Porn Sites and other Ports then 80 only for hotspot users, can any one suggest how it is possible?? The same user id and password sholuld require to work when they connect with PPPoE Dialer and allow all website also, suggest how can we impliment the same
Joined: Tue Aug 11, 2009 2:19 am Posts: 7737
Karma: 327
Blocking lots of sites via the proxy is unfeasible.
Use OpenDNS for DNS, and set up the account to not permit adult sites.
Then destination NAT all Hotspot DNS traffic to OpenDNS, and let PPPoE users use 'full view' DNS servers so they have access to everything.
_________________ Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
Users browsing this forum: No registered users and 4 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum