Community discussions

MikroTik App
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 2:05 pm

Hello Everyone,

I'm facing issue with my hotspot setup with BR1100AHx2. Users having trouble with mail.yahoo.com & hotmail.com (DNS name won't resolve). Even in case I bypass all IPs from Hotspot & just keep it enable to check. The issue still persists. After searching for several days now, I doubt proxy have something to do with this. As I've not enabled t/proxy I still see "proxy status 'running' " in Hotspot Server.

So, I just want to check if stopping proxy resolves my issues. But, I'm unable to achieve this. Can someone please guide me through this. Or can this proxy actually be stopped. Or is it mandatory to keep proxy running for hotspot to work?

Please help.

Thank you,

Rahul..
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 3:53 pm

Are you certain it is a dns problem? mail.yahoo.com redirects to a SSL site.
https://login.yahoo.com/
That will not redirect to the login page.

Hotmail.com same thing.
https://login.live.com/

And neither should be affected by a proxy.

edit: My customers do this a lot. They will call and complain that they can't get a login page, and they have bookmarked the https login page for their respective mail servers. I always advise them to go to Google or Yahoo main page first. Login to the hotspot when the login page appears, and then go to their mail stuff.
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 4:24 pm

Thanks for replying surfertime,

Actually, thats not the issue. The issue is: mail.yahoo.com won't open even after successful logon. I tried it with my own laptop. Same issue was there even if I bypass from Hotspot i.e. allow subnet in walled garden IP list. And its not that it won't open at all. Some times it'll open and sometimes it won't just resolve. I tried pinging mail.yahoo.com & got error: could not resolve mail.yahoo.com. Once I disable hotspot server, everything works like a charm.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 4:29 pm

There is something wrong with your hotspot setup. I just checked mine, and after a login, I can access both mail.yahoo.com and hotmail.com SSL sites.

Maybe you should post "/ip hotspot", "/ip hotspot profile", and "/ip address".

edit: Since you changed "/ip hotspot walled-garden" and "/ip hotspot walled-garden ip", you should post those also. And any other section of the hotspot setup that you changed.
Last edited by SurferTim on Fri Sep 07, 2012 4:50 pm, edited 1 time in total.
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 4:49 pm

Have a look:
 ip hotspot print 
Flags: X - disabled, I - invalid, S - HTTPS 
 #   NAME        INTERFACE        ADDRESS-POOL        PROFILE        IDLE-TIMEOUT
 0   server1     hotspot                                                 default        none  


 ip hotspot profile  print 
Flags: * - default 
 0 * name="default" hotspot-address=172.16.0.254 dns-name="acce.ss" 
     html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0 
     smtp-server=0.0.0.0 login-by=http-pap split-user-domain=no use-radius=yes 
     radius-accounting=yes radius-interim-update=received 
     nas-port-type=ethernet radius-default-domain="" radius-location-id="" 
     radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX 


 /ip address print 
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                
 0   ;;; BGP Bharti
     182.x.x.254/30   182.x.x.252   BGP-Bharti-5                             
 1   ;;; loopback interface used for OSPF
     10.255.255.2/24    10.255.255.0    loopback                                 
 2   ;;; LAN for PoP output
     172.16.0.254/24    172.16.0.0      LAN-0.1                                  
 3   ;;; App/Rad
     10.1.2.249/29   10.1.2.248   hotspot                                  
 4   ;;; TTSL
     10.1.2.129/30   10.1.2.128   TTSL-2 

I'd also like to tell you, that low bandwidth & high latency issue also arises after several users login i.e. 15~20.
I had to change hotspot interface to activate it, as I've users connected on LAN interface.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 4:55 pm

This is your LAN interface ip/subnet:
 2   ;;; LAN for PoP output
     172.16.0.254/24    172.16.0.0      LAN-0.1                
This is your hotspot interface ip/subnet
3 ;;; App/Rad
10.1.2.249/29 10.1.2.248 hotspot
This is from your hotspot profile
hotspot-address=172.16.0.254
Do you see a problem here?
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 5:06 pm

I guess, you missed the edit I made to my post above.

This is not the problem, because hotspot have to work on LAN interface only, which have IP adddress 172.16.0.254. I changed the interface because I didn't wanted to activate it on LAN interface until I fix this issue.

Thank you :)
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: How to disable proxy for Hotspot Server?

Fri Sep 07, 2012 5:10 pm

That setup looks the same to me.
ip hotspot print
Flags: X - disabled, I - invalid, S - HTTPS
# NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0 server1 hotspot default none
3 ;;; App/Rad
10.1.2.249/29 10.1.2.248 hotspot
ip hotspot profile print
Flags: * - default
0 * name="default" hotspot-address=172.16.0.254 dns-name="acce.ss"
html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0
smtp-server=0.0.0.0 login-by=http-pap split-user-domain=no use-radius=yes
radius-accounting=yes radius-interim-update=received
nas-port-type=ethernet radius-default-domain="" radius-location-id=""
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX
edit: And while you are at it
/ip hotspot profile
set 0 dns-name=""
set 0 hotspot-address=10.1.2.249
It is important that hotspot-address is correct. A few services, including dns, will be redirected to that ip.

Who is online

Users browsing this forum: akakua, Bing [Bot], GoogleOther [Bot], joris77, massinia, muztahidultanim, Semrush [Bot], zlowred and 67 guests