Community discussions

MikroTik App
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Redirect users to other sites

Fri May 09, 2014 3:00 pm

Hi,

how can I redirect users to google or bing if they enter any porn sites?
thank you,

ven
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Redirect users to other sites

Fri May 09, 2014 11:42 pm

You can not block all porn sites in the world.

Is a lost battle...


Think simply: some porn sites are hosted on same server hosting bank, travel ticket, news, etc.

If you block the IP you block also the other good services.

If you block the DNS, the users can use ANOTHER DNS or "hosts" file...
 
arnoldmikro
newbie
Posts: 27
Joined: Sun Apr 14, 2013 5:12 pm
Location: miami fl usa

Re: Redirect users to other sites

Sat May 10, 2014 5:36 am

You can use opendns to block porn sites and add /ip firewall nat add chain=dstnat protocol=udp dst-port=53 dst-address-type=!local action=redirect to-ports=53 to redirect DNS queries.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Redirect users to other sites

Sat May 10, 2014 9:28 am

You can use opendns to block porn sites and add /ip firewall nat add chain=dstnat protocol=udp dst-port=53 dst-address-type=!local action=redirect to-ports=53 to redirect DNS queries.
Is not sufficent.
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: Redirect users to other sites

Sat May 10, 2014 3:18 pm

i do not want to block those users I want them to redirect to other sites.

instead of porntube, Xvideos and redtube redirect them to youtube.com
 
reinerotto
Long time Member
Long time Member
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: Redirect users to other sites

Sat May 10, 2014 3:24 pm

You can use opendns to block porn sites and add /ip firewall nat add chain=dstnat protocol=udp dst-port=53 dst-address-type=!local action=redirect to-ports=53 to redirect DNS queries.
Is not sufficent.
What will be sufficient in this scenario, assuming, access via http(s)+IP is already blocked, too.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Redirect users to other sites

Sat May 10, 2014 4:57 pm

Nothing is sufficents,

Some proxy offer DNS and HTTP proxyng...

DNS on other port like "666"...


But the user ask specifically to REDIRECT the users, not to block it.
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: Redirect users to other sites

Mon May 12, 2014 3:14 pm

Hi,

I am using Squid Proxy in transparent mode , is that possible to redirect users?

thank you,

ven
 
reinerotto
Long time Member
Long time Member
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: Redirect users to other sites

Mon May 12, 2014 6:53 pm

Hi,

I am using Squid Proxy in transparent mode , is that possible to redirect users?

thank you,

ven
Yes.
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: Redirect users to other sites

Tue May 13, 2014 1:25 pm

Hi,

How can I do that in Squid, could you please let me know any instructions do you have?

thank you,

ven
 
reinerotto
Long time Member
Long time Member
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: Redirect users to other sites

Tue May 13, 2014 1:48 pm

Hi,
How can I do that in Squid, could you please let me know any instructions do you have?
thank you,
ven
Sorry, this is a MT forum.

Who is online

Users browsing this forum: almdandi, gigabyte091, marekm, pants6000 and 75 guests