Community discussions

 
llama
just joined
Topic Author
Posts: 2
Joined: Tue Feb 04, 2014 2:35 am

Append URL through Proxy?

Tue Feb 04, 2014 2:37 am

I'm looking to append a string to a URL if it matches a domain (for example &safesearch=strict, if the domain is google.com). Does anyone know if this is possible?
 
User avatar
shahbazian
Trainer
Trainer
Posts: 166
Joined: Fri Sep 09, 2011 6:22 pm
Location: Iran
Contact:

Re: Append URL through Proxy?

Tue Feb 04, 2014 10:38 pm

I'm looking to append a string to a URL if it matches a domain (for example &safesearch=strict, if the domain is google.com). Does anyone know if this is possible?
Hi,
You can use proxy access list rule for that.
At first Enable web proxy; and then transparent web proxy by adding NAT rule.
after that add new rule in proxy access and determine URL by select dst.host and path, select deny action and set redirect-to="new address"
Remember: You can use regexp in access list rule dst.host and path
Learn MikroTik to improve your network.
( MTCNA, MTCRE, MTCWE, MTCTCE, MTCUME, MTCIPv6E, MTCINE )
MikroTik Certified Trainer & Consultant
RIPE NCC Trainer
 
llama
just joined
Topic Author
Posts: 2
Joined: Tue Feb 04, 2014 2:35 am

Re: Append URL through Proxy?

Thu Feb 06, 2014 1:09 am

Thank you very much!
 
faqterson
just joined
Posts: 3
Joined: Tue Apr 15, 2014 8:55 am

Re: Append URL through Proxy?

Tue Apr 15, 2014 9:10 am

Please can I ask if you were able to do this making use of Mikrotik web proxy. Would you mind sharing how and if you were able to append to the URL.

Regards

Who is online

Users browsing this forum: No registered users and 30 guests