how can i make another hotspot server profile on the same interface… that way i can assign the users that havenet paid to that profile so when they logon they only see that one page.
Help me out if I’m wrong - I don’t believe this is possible due to the way MT handles the MAC address on the Hotspot Interface.
The closest you can prob get is to use VLANs, but then the CPE needs to support it
Hello
here is the solution:
- Create address space for unpaid users, eg. 10.1.0.1/24, and for paid: 10.1.5.1/24
- Create hotspot pool e.g. 10.1.0.100-10.1.0.200
- Create dhcp-server, which uses hs-pool
- Create hs profile, set hotspot-address=10.5.0.1
- I assume that your paid customers will be given IP form paid pool
- In NAT set masquarade only for 10.1.5.1/24
Please note: you may use: /ip hotspot ip-binding feature for manually set IP addresses(paid of course).
I used it combined with RADIUS.
Regards,
Stoned.
Thanks.
I am still new to RouterOS and i do find it difficult at times to configure.
With the above being said how is that I can now create a new Hotspot server profile?
When I create a new user it asks me which profile i want to use. I want to be able to select “unpaid profile” or “regular”
which each profile its own html and images.
I only use one profile,
for those who did not pass the authorization procedure,
here is an example:
/ ip hotspot
add name=“hs” interface=users address-pool=hs-unpaid profile=hsprof-unpaid idle-timeout=3h
keepalive-timeout=none addresses-per-mac=2 disabled=no
/ ip hotspot service-port
set ftp ports=21 disabled=no
/ ip hotspot ip-binding
add address=10.5.5.3 type=bypassed comment=“manually-configured-IP” disabled=no
/ ip hotspot profile
set default name=“default” hotspot-address=0.0.0.0 dns-name=“”
html-directory=hotspot rate-limit=“” http-proxy=0.0.0.0:0
smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d
split-user-domain=no use-radius=no
add name=“hs-unpaid” hotspot-address=10.5.0.1 dns-name=“” html-directory=hotspot
rate-limit=“” http-proxy=0.0.0.0:0 smtp-server=0.0.0.0
login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no
use-radius=no
/ ip hotspot user
add name=“mt.test” password=“mikrotik” address=10.5.5.2 profile=default
comment=“” disabled=no
/ ip hotspot user profile
set default name=“default” idle-timeout=none keepalive-timeout=2m
status-autorefresh=1m shared-users=1 transparent-proxy=yes
open-status-page=always advertise=no
Regards,
Stoned.
thank you stoned.
i can follow those instructions in winbox when i get home.