With web proxy enabled, a new connection will show a HTTP header value for HTTP_VIA of: 1.1 10.5.50.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 10.5.60.1), and connect to a website which outputs the HTTP_VIA header, I still see: 1.1 10.5.50.1 (Mikrotik HttpProxy)
Now, if I disable/enable web proxy, and start on eth2, I'll see "1.1 10.5.60.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