captive web portal with proxy

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Hi, can anyone tell me how to get the captive web portal to work with a proxy? I have setup a captive portal, but when try to log, it comes back and says page can not be displayed? has anyone got any ideas? thanks
Photo of Dan Clarkson

Dan Clarkson

  • 8 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
Not sure how you have your client configured, but you might want to bypass proxy for the portal pages, and see if that works.

Use default network settings: Select the check box to use the default network settings for the subinterface hosting the SSID and for the clients associated with the AP. By default, the AP assigns IP addresses to subinterfaces for captive web portal use as follows:

Eth0 — 1.2.1.1/24
Eth1 — 1.2.2.1/24
Eth2 — 1.2.3.1/24

Although the default IP subnet is dependent on the physical port number, such as Eth0, the actual IP addresses appear on subinterfaces of the mgt0 interface. For example, the default IP subnet of a CWP hosted on the Eth4 port is 1.2.5.1/24, but the logical interface on which the IP address appears can be any management subinterface, such as mgt0.2.

... ... ...

wifi0.1 — 1.1.1.1/24
wifi0.2 — 1.1.2.1/24
wifi0.3 — 1.1.3.1/24

... ... ...

wifi0.16 — 1.1.16.1/24
wifi1.1 — 1.1.101.1/24
wifi1.2 — 1.1.102.1/24
wifi1.3 — 1.1.103.1/24

... ... ...

wifi1.16 — 1.1.116.1/24
Photo of Dan Clarkson

Dan Clarkson

  • 8 Posts
  • 0 Reply Likes
Hi,

Thanks for replying. If i was not to use the default settings and set the IP address to that of one of one that is assigned to the VLAN would this get around the issues? I tried putting an expection in to bypass for local address but this did not work. The only way i have managed to do this is to, untick all proxy settings, the page will then load, which i accept, but i cant then go onto the web until i tick the proxy settings again. We are deploying the proxy settings by a proxy.pac file, but i have tried the options "automatically detect settings" and entering the proxy manually. Both options had the expection in for bypassing the 1.* network as a local address, and neither worked. Thanks again for yor help
Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
it's a dns redirect

you might want to use wireshark to see the flow of the process

you can get some info from this blog.

http://blogs.aerohive.com/blog/the-wi...

maybe consider using a transparent proxy setup, so you don't have worry about pac files, or hard coding stuff.

Most "Guests" would not usually use a proxy server unless it was transparent and unknown to them.