I’ve trying to active pppoe server + HotSPOT server in the same server. When users login in PPPOE, they are connected to internet, but, the FIRST PAGE is a “walled garden” page of my http (*nix) server, and after this, they navigate in web.
I had altered the page of hotspot to do refresh in the walled garden site. It worked well when i’m using DHCP + HOTSPOT, but, when i connect in PPPOE, doesn’t import what ip the laptop get, the HOTSPOT site doesn’t open. just a error. The laptop doesn’t ping anything, just Mikrotik IP. If i try to acess http://IP of MIKROTIK, the same error occour, if i try a telnet ip of mikrotik in the port 80, the same error occour.
is possible use PPPOE+HOTSPOT? The only thing that I need to do is open the ISP PAGE as the first PAGE when any user try to navigate.
PPPoE works independently of HotSpot. All users connecting via PPPoE will bypass Hotspot altogether. You may need to find an alternate way of displaying your initial splash page. Maybe a NAT redirect rule triggered by PPPoE profile or something like that.
Yes, helps a lot it’s a another view “start point”. But, if I make this:
1-Add a rule to add address to an Address List
2-Add a Nat redirect rule that applies to the Address List
How can I make Mikrotik execute this NAT rule just ONE time? Because I’m trying to make my client view obligatorily my ISP page just ONE TIME when he connect to the internet.
You can set the amount of time that the address is added to the Address List. It’s not a foolproof way, but it might be the easiest. (ie. set it to 30 seconds, so for the first 30 seconds the user sees the page, after that they can browse.) Another way is to add a rule that removes the address from the Address List that applies to the port they get redirected to.