Community discussions

MikroTik App
 
sheno
just joined
Topic Author
Posts: 5
Joined: Tue Aug 06, 2013 4:10 pm

hotspot + web-proxy on wan interface

Mon Oct 02, 2017 1:50 pm

Dears:

this is my scenario:

https://ibb.co/hpNiFb
my scenario is :

1) - configuring Hotspot on wan interface and redirect the request to internal web-server where there is another pages such as (login.php -alogin.php so on.) that contain fields like
- user name
- password
- email
- name
- phone number

actually i successfully did that using the help of that video But instead of External i put the server inside internal network.

https://www.youtube.com/watch?v=rW5EbD8AmOQ&t=1428s


2) enable web-proxy option in mikrotik



The problem that i faced:

- if i am only using web-proxy the external client is using the proxy successfully and got an internet without any problem
- if i add the HOTSPOT option on the wan interface beside enabling the web-proxy the client got the hotspot login only and failed to get any thing no internet no any thing
and got a message

"There is a loop in network for HTTP traffic. Check your network topology and proxy & firewall configuration"

First of all why i need to achieve that scenario.

- I need To get data from users like their email and phone and name so i collect this using my php webserver login page and this is complished using the HOTSPOT login page
- To force the user to come to my mikrotik offcourse i have to add my mikrotik web-proxy ip and port so i have to enable web-proxy option

sound look like the Hotspot is conflict with web-proxy or some issue i dont understand

waiting your view and explanation to solve that problem dears


thanks a lot