Redirect loop after successful login



  • Hello I'm setting up a captive portal in a virtual box with Debian as a host. The host has 2 interfaces eth0 and eth1: eth0 for broadband (internet access) and eth1 (192.168.2.1/24) to wireless router. WAN is bridged to eth0 and LAN is bridged to eth1 (LAN IP: 92.168.2.2/24).
    My phone and another laptop can connect to internet through the captive portal but my debian always redirect to login page after login.
    I tried with Allowed IP and the debian is successfully connected to internet.

    Please can anyone tell me what I am missing here.

    Thank you!

    pfSense version 2.2.2-RELEASE (amd64)