Professional Documents
Culture Documents
ay=ping
/ip route
add dst-address=0.0.0.0/0 gateway=200.4.2.11 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.169.2 distance=2 check-gateway=ping
/ip firewall nat
add chain=srcnat out-interface=WAN1 action=masquerade
add chain=srcnat out-interface=WAN2 action=masquerade
/ip address
add address=190.79.8.1/24 disabled=no interface=HOTSPOT1 network=190.79.8.0
add address=190.79.7.1/24 disabled=no interface=HOTSPOT2 network=190.79.7.0
/ip pool
add name=hs-pool-1 ranges=190.79.7.10-190.79.8.200
/ip dhcp-server
add address-pool=hs-pool-1 authoritative=after-2sec-delay bootp-support=static d
isabled=no interface=HOTSPOT1 lease-time=1h name=dhcp1
add address-pool=hs-pool-2 authoritative=after-2sec-delay bootp-support=static d
isabled=no interface=HOTSPOT2 lease-time=1h name=dhcp2
/ip dhcp-server config set store-leases-disk=5m
/ip dhcp-server network
add address=190.79.8.0/24 comment= hotspot network gateway=190.79.8.1
add address=190.79.7.0/24 comment= hotspot network gateway=190.79.7.1
/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=http-chap name=default rate-limit= " sm
tp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=travosh.com hotspot-address=190.79.8.1 html-directory=hotspot httpcookie-lifetime=1d http-proxy=0.0.0.0:0 login-by=http-chap name=hsprof1 rate-lim
it= " smtp-server=0.0.0.0 split-user-domain=no use-radius=no
/ip hotspot
add address-pool=hs-pool-1 addresses-per-mac=1 disabled=no idle-timeout=15m inte
rface=HOTSPOT1 keepalive-timeout=none name=HOTSPOT profile=hsprof1
/ip hotspot user profile
set default idle-timeout=15m keepalive-timeout=2m name=default shared-users=1 st
atus-autorefresh=1m transparent-proxy=no
add address-pool=hs-pool-1 advertise=no idle-timeout=none keepalive-timeout=2m n
ame= 512k Limit open-status-page=always rate-limit=512k/512k shared-users=1 statusautorefresh=1m transparent-proxy=yes
add address-pool=hs-pool-1 advertise=no idle-timeout=none keepalive-timeout=2m n
ame= 256k Limit open-status-page=always rate-limit=256k/256k shared-users=1 statusautorefresh=1m transparent-proxy=yes
/ip hotspot service-port set ftp disabled=yes ports=21
/ip hotspot walled-garden ip add action=accept disabled=no dst-address=190.79.8.
1
/ip hotspot set numbers=HOTSPOT address-pool=none
/ip firewall nat add action=masquerade chain=srcnat disabled=no
/ip hotspot user
add disabled=no name=admin password=777777 profile=default
add disabled=no name=test-512k password=1234 profile= 512k Limit server=HOTSPOT
add disabled=no name=test-256k password=1234 profile= 256k Limit server=HOTSPOT