Community discussions

MikroTik App
 
scap
newbie
Topic Author
Posts: 25
Joined: Thu Feb 09, 2006 12:33 am

help for web proxy

Thu Feb 09, 2006 12:46 am

Internet User > Internet > Mikrotik > Webserver port 8080 (static server)

I need setup webproxy on Microtik .Microtik webproxy'll work on port 80 and filter some url request for my server. Now I'm doing this with squid on same server. But I think I can do this From Microtik.

Can you give me a sample command set for this?
I want to block requests if request include "somewords" and also want block bad requests from my server.

I think I need one of nat rule. But I didn't understand from sample. I need to do a nat rule my server ip:80 > mikrotik. Microtik must work with transparent proxy for web server:8080.
How can I do this?
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Thu Feb 09, 2006 2:20 am

You want to set up a MT caching web-proxy to speed-up your web server ? And translate the service from port 8080 to port 80? And maybe to block some URL requests or URL requests that contain a certain string from getting to your web-server ?
 
scap
newbie
Topic Author
Posts: 25
Joined: Thu Feb 09, 2006 12:33 am

Thu Feb 09, 2006 9:42 am

Don't need caching. Block some URL requests or URL requests that contain a certain string from getting to your web-server.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Fri Feb 10, 2006 9:42 am

I suppose, you need to setup transparent web-proxy, it will be invisible to router end-user.
'/ip web-proxy access' list will help you to setup filtering by content.
General information described in web-proxy documentation.
 
scap
newbie
Topic Author
Posts: 25
Joined: Thu Feb 09, 2006 12:33 am

Sat Feb 11, 2006 1:56 am

I installed weproxy service on Mikrotik, but I did'nt find how can I do content filtering with Mikrotik web proxy service. I want to do content filtering for my webserver.

I think to activate mikrotik webproxy service on port 80 with web server ip address. After do it, mikrotik'll look all web request and if request is true (some rules), I want to redirect user to my server 8080 web port.
Now I'm using mikrotik with 2 nics. First nic is for isp and other nic is for webserver. How can I do this content filter with mikrotik? Do you give me a sample command set for do this? :roll:
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Sun Feb 12, 2006 7:54 pm

You want to spoof a part of a web service and make your HTTP server act as the original on some URLs ? If you replace content without the user knowing on sites that include information submitting... This is kinda illegal. Do not do it you'll get busted.

Who is online

Users browsing this forum: Google [Bot], jdeckert and 51 guests