Hello, I am triyin to use transparent web proxy for the hotspot clients.
I redirected the trafic from port 80 to the web-proxy port on chain pre-hotspot (This is the only thing that would work), but after this configuration is done, when I log out of the hotspot and try to log in, the login page would not appear.
I have allso tried to exclude the ip on witch the hotspot is running (! x.x.x.x) but it doesnt hellp.
Does anyone knows how to do this??
I understand why this is happening, but I don’t know how to fix it. Please Hellp.
HotSpot provides transparent proxy feautre by itself, if you wish to log visited web-pages, add ‘topic=webproxy’ to ‘system logging’ with the required action.
Yes, I can see in Winbox for the user-profile that it has a transparent proxy option, but witht his option enabled or disabled, I can’t see any difference or improvements when I oppen the same web page twise.
In the other hand If I use the web-proxy feature, I can see a really great improvement in the speed at witch the web pages oppen.
Like for an instance in the Web-Proxy feature, I can look at the numbers in the monitor, they move when I open the same web page, but if I trie to use the Web-Proxy feature in conjunction with the Hotspot, the only way for me to get it to work is to use a redirect rule from port 80 to the Web-Proxy port using chain: pre-hotspot, but if I use this rule, when a user tries tog in to the hotspot, the request are redirected to the Web-Proxy (and since the user is not validated yet in the hostpot, the user gets an error page) and not to the log in web page were you put your username and password.
Can I actually use Web-Proxy (Squid) and hotspot at the same time??
Try setting the dst-nat rule in the hotspot chain (above the jump chain rules) instead of the pre-hotspot chain. I did that and it solved the problem.[/quote]
Hi, I did not use command line to do this, I used winbox, I solved the problem implementing this:
get your web-proxy up and running set it up to transparent mode, then in the firewall you redirect the trafict from port 80 to the port of the web-proxy and you use chain: hotspot.
There is documentation to set up transparent web-proxy, but if you whant to use this for the hotspot you have to change the chain to hotspot, the rest remains the same.
the interface is the interface on witch the hotspot runs.
I know there is a better way to do this, but this nat rule has worked wonders for me, and i have not had any trouble what so ever with the web-proxy.