3.0beta10 BUG?

I setup hotspot for my customer. And now i try to use 3.0beta10 for that, but get some trouble. The case as below…

  1. assign the address,
  2. setup dns
  3. setup dhcp
  4. setup nat masquerade
    all work fine now, and then setup the hotspot
  5. setup hotspot using the /ip hotspot setup via winbox
  6. I add the IP List to walled garden, like this
/ ip hotspot walled-garden ip 
add server=hotspot1 dst-address=0.0.0.0/0 action=accept comment="" disabled=no 
    disabled=no

this is for the user can using the internet direct, don’t need user name & password

THE TROUBLE IS
The user who get the ip address from dhcp-server work fine, but the user who has different ip address from dhcp-server, only can ping outside,(this means network work fine) but can’t access the web page using IE, i try server time, at last i found, THESE USER can’t using dns services, so they can’t browser the internet.
This must be a bug of this version, because i using this for a long time(2.9.xx). so please check this , thanks a lot

You need to create “universal client” in hotspot. Add an address-pool to your hotspot server in “/IP hotspot”. Set address-pool=xxxx. Where xxxx is a valid address-pool on your router. This will allow your hotspot server NAT all non indigenous IP address to your address-pool.

dear skillful:

i have do the same thing in 2.9.xx, it works fine ,and just upgrade to 3.0beta10, but the trouble still there.
Would you kindly make a sample script for me?


Very thanks to u ~!

What do you mean by different IP address (Make sure masquerade rule src-address matches this another IP address) ?
Make sure that you have addedd src-list to ‘ip hotspot walled-garden’, as without src-address list HotSpot is almost useless, note the same is possible via ‘ip hotspot ip-binding’.

Execute the following commands and paste results here

/ip pool print
/ip hotspot print

dear skillful,
sorry for a long time to paste the code,
the trouble is still there, please help me.
i have setup 2 hotspot, but testing the hs-3Office
tkwak

# aug/02/2007 20:09:43 by RouterOS 3.0beta10
# software id = ZKBY-9XT
#
/ip pool 
add name="dhcp_pool1" ranges=172.47.58.2-172.47.58.254 
add name="dhcp_pool2" ranges=192.168.99.3-192.168.99.254



# aug/02/2007 19:59:48 by RouterOS 3.0beta10
# software id = ZKBY-9XT
#
/ip hotspot profile 
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot \
    http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
    name="default" rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
    use-radius=no 
add dns-name="hs.xingwen.com" hotspot-address=172.47.58.1 \
    html-directory=hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 \
    login-by=cookie,http-chap name="hsprof1" rate-limit="" smtp-server=0.0.0.0 \
    split-user-domain=no use-radius=no 
add dns-name="hs.xingwen.com" hotspot-address=192.168.99.2 \
    html-directory=hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 \
    login-by=cookie,http-chap name="hsprof2" rate-limit="" smtp-server=0.0.0.0 \
    split-user-domain=no use-radius=no 
/ip hotspot user profile 
set default advertise=no idle-timeout=none keepalive-timeout=2m name="default" \
    open-status-page=always shared-users=1 status-autorefresh=1m \
    transparent-proxy=yes 
/ip hotspot 
add address-pool=dhcp_pool1 addresses-per-mac=2 disabled=yes idle-timeout=5m \
    interface=2Guest keepalive-timeout=none name="hotspot1" profile=hsprof1 
add address-pool=dhcp_pool2 addresses-per-mac=2 disabled=no idle-timeout=5m \
    interface=3Office keepalive-timeout=none name="hs-3Office" profile=hsprof2 
/ip hotspot ip-binding 

add address=192.168.8.0/24 comment="" disabled=no server=hs-3Office \
    type=bypassed 
add address=192.168.99.0/24 comment="" disabled=no server=hs-3Office \
    type=bypassed 
/ip hotspot service-port 
set ftp disabled=no ports=21 
/ip hotspot user 
add comment="" disabled=no name="admin" password="" profile=default 
/ip hotspot walled-garden 
add action=allow comment="place hotspot rules here" disabled=yes 
/ip hotspot walled-garden ip 
add action=accept comment="" disabled=yes dst-address=0.0.0.0/0 \
    server=hotspot1 src-address=0.0.0.0/0 
add action=accept comment="" disabled=no dst-address=0.0.0.0/0 \
    server=hs-3Office src-address=0.0.0.0/0