Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jan/04/1970 17:48:11 by RouterOS 6.37.3
- # software id = PDRN-FTSL
- #
- /interface bridge
- add admin-mac=E4:8D:8C:AA:F3:D4 auto-mac=no comment=defconf name=bridge
- /interface ethernet
- set [ find default-name=ether2 ] name=ether2-master
- set [ find default-name=ether3 ] master-port=ether2-master
- set [ find default-name=ether4 ] master-port=ether2-master
- set [ find default-name=ether5 ] master-port=ether2-master
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
- distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-AAF3DA \
- wireless-protocol=802.11
- set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
- 20/40/80mhz-Ceee distance=indoors frequency=auto ssid=MikroTik-AAF3D9 \
- wireless-protocol=802.11
- /ip neighbor discovery
- set ether1 discover=no
- set bridge comment=defconf
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip hotspot profile
- set [ find default=yes ] html-directory=flash/hotspot
- /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-master
- add bridge=bridge comment=defconf interface=sfp1
- add bridge=bridge comment=defconf interface=wlan1
- add bridge=bridge comment=defconf disabled=yes interface=wlan2
- add bridge=bridge interface=ether1
- /ip address
- add address=192.168.20.6/24 comment=defconf disabled=yes interface=wlan2 \
- network=192.168.20.0
- add address=192.168.20.5/24 interface=ether5 network=192.168.20.0
- add address=192.168.50.2/30 interface=ether1 network=192.168.50.0
- /ip dhcp-client
- add dhcp-options=hostname,clientid interface=wlan2
- /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.20.5 name=router
- /ip firewall filter
- add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
- connection-state=established,related
- add action=accept chain=forward comment="defconf: accept established,related" \
- connection-state=established,related
- add action=drop chain=forward comment="defconf: drop invalid" \
- connection-state=invalid
- # in/out-interface matcher not possible when interface (ether1) is slave - use master instead (bridge)
- add action=drop chain=forward comment=\
- "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
- connection-state=new in-interface=ether1
- add action=accept chain=input protocol=icmp
- add action=accept chain=input connection-state=established
- add action=accept chain=input connection-state=related
- add action=drop chain=input in-interface=wlan2
- /ip route
- add distance=1 gateway=192.168.50.1
- add distance=1 dst-address=192.168.10.0/24 gateway=192.168.50.1
- /system identity
- set name=Lawrence-Edge
- /system routerboard settings
- set cpu-frequency=720MHz protected-routerboot=disabled
- /tool mac-server
- set [ find default=yes ] disabled=yes
- add interface=ether1
- add interface=ether2-master
- add interface=sfp1
- add interface=wlan1
- /tool mac-server mac-winbox
- set [ find default=yes ] disabled=yes
- add interface=ether1
- add interface=ether2-master
- add interface=sfp1
- add interface=wlan1
Add Comment
Please, Sign In to add comment