Community discussions

MikroTik App
just joined
Topic Author
Posts: 8
Joined: Tue Oct 07, 2008 3:50 am

Web Proxy HTTP_VIA Header Not Always Accurate

Wed Jan 11, 2012 2:25 am

With web proxy enabled, a new connection will show a HTTP header value for HTTP_VIA of: 1.1 (Mikrotik HttpProxy)

If I move to a machine plugged into eth2, and get assigned an IP address in the 10.5.60.x network (with gateway of, and connect to a website which outputs the HTTP_VIA header, I still see: 1.1 (Mikrotik HttpProxy)

Now, if I disable/enable web proxy, and start on eth2, I'll see "1.1 (Mikrotik HttpProxy)", both on eth2 or if I move to eth1.

It seems this value is obtained and used based on the first use of the web proxy, and never updated, even if the proxy service is being supplied from a different IP (as is the case if I move from eth1 to eth2). I've confirmed the same behavior on 5.9 and 5.11.

a) I wonder what MT support has to say. Is this a possible bug or intended?

b) My intent is to read this value so I can, via a remote web page, redirect the user back to <gateway ip>/logout.html to force a logout. Any better ideas to accomplish this result?

- Nathan
User avatar
Posts: 140
Joined: Sat Jul 11, 2009 4:36 pm
Location: Cordoba - Argentina

Re: Web Proxy HTTP_VIA Header Not Always Accurate

Wed Jan 11, 2012 11:06 pm

have you tried the "source address" field undes ip > proxy > settings?


Ing. Mario D. Clep
CTO - MKE Solutions
MikroTik Certified Trainer

Who is online

Users browsing this forum: prozak and 64 guests