Forwarding specific PPPoE client to Hotspot Log-in Page/Portal is not working.

Good day everyone!

I used to redirect some users to the web-proxy and all is working with no problem. Now, i need to use the Hotspot Captive Portal instead to require them to sign-in first to the Hotspot before granting access to the internet.

Below is my config I modified from my previous redirect to web-proxy firewall NAT rule and it is not fully working with using the hotspot as destination. Once a user connected to PPPoE wifi modem, the SSID shows a message “Can’t provide internet” most probably because it needs to authenticate first (log-on) to the hotspot but unfortunately the hotspot log-in page doesn’t pop up. I already tested both mobile device and PC and still got the same problem. Hope someone can help me solve this problem.


IP Details:

PPPoE User Remote Address: 10.100.100.123
PPPoE Local Address/Gateway: 10.100.100.1
Hotspot Interface Gateway: 192.168.8.1
Hotspot IP Pool: 192.168.8.2-192.168.8.254



/ip firewall nat
add action=dst-nat chain=dstnat comment=“PPPoE User to HTTP sites” dst-port=80 protocol=
tcp src-address=10.100.100.123 to-addresses=192.168.8.1
add action=dst-nat chain=dstnat comment=“PPPoE User to HTTPS sites” dst-port=443
protocol=tcp src-address=10.100.100.123 to-addresses=192.168.8.1

/ip hotspot profile
add dns-name=www.mywifi-hotspot.com hotspot-address=192.168.8.1 html-directory=
hotspot login-by=http-chap,mac-cookie name=MyWifi-Hotspot

/ip hotspot
add address-pool=HS-Pool addresses-per-mac=1 disabled=no interface=
bridge-mywifi-hotspot name=“MyWifi-Hotspot-Server” profile=MyWifi-Hotspot

/ip dhcp-server
add address-pool=HS-Pool interface=bridge-mywifi-hotspot
lease-time=1h name=dhcp-MyWifi-Hotspot

/ip dhcp-server network
add address=192.168.8.0/24 comment=“hotspot network” gateway=192.168.8.1


ADDITIONAL NOTE: User can normally access the internet via PPPoE with those firewall redirect rules being disabled. Direct access to the Hotspot is also full working with its Log-in Page auto pop up using the same user device. Hence, I can confirm there is no problem with the PPPoE and Hotspot configuration. Maybe I did something wrong in my redirection configuration. Please help. Thank you.

Hello Everyone!

I have already upgraded from ROS 7.11.2 to ROS 7.12.1 but still my forwarding/redirection to hotspot config still not successful. Router unit is CCR1009.

Any help would be much appreciated.

Thank you.

Did you manage to find any solution? I am facing a similar problem.

unfortunately, until now i haven’t been able to find any solution yet.

in ROS 6.49 i don’t have any problem on redirecting any user IP add to the hotspot log-in page. maybe this is a ROS 7.* bug or something.

Thank you very much for answering!

In Ros 6.49 do you experience conflicts when redirecting https pages?

I face the challenge that when suspending a pppoe client it is redirected to a page with a suspension message, something very similar to how the hostpot works, but unfortunately all the methods I have found work only with http due to the certificate conflicts in https ,

the solution for https would seem to be rfc 7710 but apparently it is only implemented in dhcp

Hello. I haven’t tried it yet in ROS 6.49. All I did in ROS 6.49 is redirecting a certain group of users (IP addresses) to the hotspot log-in page. I cannot do it successfully now in ROS 7.