# dec/10/2019 10:07:51 by RouterOS 6.46 # software id = WZ15-PGEM # # model = RouterBOARD 941-2nD # serial number = 7DE708AAD8AB /interface bridge add admin-mac=CC:2D:E0:02:9E:F8 auto-mac=no comment=defconf name=bridge /interface wireless # managed by CAPsMAN # channel: 2412/20-Ce/gn(30dBm), SSID: Wifi, local forwarding set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \ disabled=no distance=indoors frequency=auto installation=indoor mode=\ ap-bridge ssid=MikroTik-029EFC wireless-protocol=802.11 /interface list add comment=defconf name=WAN add comment=defconf name=LAN /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip hotspot add disabled=no interface=bridge name=CC:2D:E0:02:9E:F7 /ip hotspot profile set [ find default=yes ] html-directory=hotspot login-by=http-chap use-radius=yes /ip hotspot user profile set [ find default=yes ] add-mac-cookie=no /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.254 /ip dhcp-server add address-pool=default-dhcp disabled=no interface=bridge name=defconf /interface bridge port add bridge=bridge comment=defconf interface=ether2 add bridge=bridge comment=defconf interface=ether3 add bridge=bridge comment=defconf interface=ether4 add bridge=bridge comment=defconf interface=pwr-line1 add bridge=bridge comment=defconf interface=wlan1 /ip neighbor discovery-settings set discover-interface-list=LAN /interface list member add comment=defconf interface=bridge list=LAN add comment=defconf interface=ether1 list=WAN /interface wireless cap # set caps-man-addresses=capsman1,capsman2 enabled=yes interfaces=wlan1 /ip address add address=192.168.88.1/24 comment=defconf interface=bridge network=\ 192.168.88.0 /ip dhcp-client add comment=defconf disabled=no interface=ether1 /ip dhcp-server network add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1 /ip dns set allow-remote-requests=yes /ip dns static add address=192.168.88.1 comment=defconf name=router.lan /ip firewall filter add action=passthrough chain=unused-hs-chain comment=\ "place hotspot rules here" disabled=yes add action=accept chain=input dst-port=8291 in-interface=ether1 protocol=tcp add action=accept chain=input dst-port=22 in-interface=ether1 protocol=tcp add action=accept chain=input comment=\ "defconf: accept established,related,untracked" connection-state=\ established,related,untracked add action=drop chain=input comment="defconf: drop invalid" connection-state=\ invalid add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp add action=accept chain=input comment=\ "defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1 add action=drop chain=input comment="defconf: drop all not coming from LAN" \ in-interface-list=!LAN add action=accept chain=forward comment="defconf: accept in ipsec policy" \ ipsec-policy=in,ipsec add action=accept chain=forward comment="defconf: accept out ipsec policy" \ ipsec-policy=out,ipsec add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \ connection-state=established,related add action=accept chain=forward comment=\ "defconf: accept established,related, untracked" connection-state=\ established,related,untracked add action=drop chain=forward comment="defconf: drop invalid" \ connection-state=invalid add action=drop chain=forward comment=\ "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \ connection-state=new in-interface-list=WAN /ip firewall nat add action=passthrough chain=unused-hs-chain comment=\ "place hotspot rules here" disabled=yes add action=masquerade chain=srcnat comment="defconf: masquerade" \ ipsec-policy=out,none out-interface-list=WAN /ip hotspot walled-garden add comment="place hotspot rules here" disabled=yes add dst-host=*mywifi.io add dst-host=*.guestlinx.com add dst-host=*securewifilogin.com add dst-host=*cloudfront.net add dst-host=*fonts.gstatic.com add dst-host=*fonts.googleapis.com add dst-host=*linkedin.com add dst-host=*amazonaws.com add dst-host=*licdn.com add dst-host=*twitter.com add dst-host=*facebook.com add dst-host=*fbcdn.net add dst-host=*akadns.net add dst-host=*edgekey.net add dst-host=*edgesuite.net add dst-host=*akamaihd.net add dst-host=*akamaiedge.net add dst-host=*akamai.net add dst-host=*twimg.com add dst-host=*instagram.com add dst-host=*facebook.net add dst-host=*stripe.com add dst-host=*paypal.com add dst-host=*paypalobjects.com add dst-host=*twilio.com add dst-host=*vk.com add dst-host=*js.authorize.net /ip hotspot walled-garden ip add action=accept disabled=no dst-host=js.stripe.com add action=accept disabled=no dst-host=js.authorize.net /radius add address=IP1 secret=mywifi service=hotspot add address=IP2 secret=mywifi service=hotspot /system clock set time-zone-name=America/Chicago /system identity set name=f2534d:cc2de0029ef7 /tool mac-server set allowed-interface-list=LAN /tool mac-server mac-winbox set allowed-interface-list=LAN