Community discussions

MikroTik App
 
mortin
newbie
Topic Author
Posts: 41
Joined: Wed Mar 09, 2005 9:54 pm

Web-proxy and users control

Fri Jun 10, 2005 10:57 pm

Hello !

I use external proxy server of my provider with mikrotik router (parent-proxy with upper-level proxy)

Conf:
eth1 - DSL (*.*.*.*)
eth2 - LAN (192.168.0.0/24)
192.168.0.0/24 is masquerade

The proxy works in transparent mode for users in LAN (add in-interface=ether2 protocol=tcp \
dst-address=!192.168.0.1/32:80 action=redirect to-dst-port=8080)


I need to block the users who are breaking the rules in LAN.
I know how to do it with /ip firewall forward src-mac drop rule
But addtionaly I want to redirect all http reguest from the user to exact url="....index.html" with warning.

I read all mikrotik doc concering web-proxy conf but I still dont know how to do it.

Thank for any advice !.

Regards
Martin
 
ns-c0de
just joined
Posts: 17
Joined: Sun Jun 26, 2005 11:58 pm
Location: Serbia
Contact:

Tue Jun 28, 2005 5:15 pm

I would also like to have a redirection for users who are denied to proxy, or is there a way to change the default "Access denied" page?

Anyone?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27073
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Jun 28, 2005 5:17 pm

ns-c0de -> simply use hotspot for this