Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jan/09/2017 21:56:43 by RouterOS 6.34.2
- # software id = S0FX-YN75
- #
- /interface bridge
- add admin-mac=6C:3B:6B:40:25:9B 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 \
- disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=\
- "OOUR Nada Dimic" wireless-protocol=802.11
- /ip neighbor discovery
- set ether1 discover=no
- set bridge comment=defconf
- /interface vlan
- add interface=ether1 name=ont-vlan1 vlan-id=100
- /interface pppoe-client
- add add-default-route=yes disabled=no interface=ont-vlan1 keepalive-timeout=\
- disabled name=pppoe-out1 password=PASS use-peer-dns=yes user=\
- USERNAME
- /interface wireless security-profiles
- set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
- wpa-pre-shared-key=PASS wpa2-pre-shared-key=\
- PASS
- add authentication-types=wpa2-psk management-protection=allowed mode=\
- dynamic-keys name=wlan2 wpa2-pre-shared-key=PASS
- /interface wireless
- set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40mhz-Ce \
- disabled=no distance=indoors frequency=auto mode=ap-bridge \
- security-profile=wlan2 ssid="SOUR Kosta Nadj" wireless-protocol=802.11
- /ip pool
- add name=dhcp ranges=192.168.88.10-192.168.88.254
- /ip dhcp-server
- add address-pool=dhcp disabled=no interface=bridge name=defconf
- /queue simple
- add max-limit=512k/2M name=queue1 target=wlan1
- /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 interface=wlan2
- /ip address
- add address=192.168.88.1/24 comment=defconf interface=ether2-master network=\
- 192.168.88.0
- /ip dhcp-client
- add comment=defconf dhcp-options=hostname,clientid 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 name=router
- /ip firewall filter
- add chain=input comment="defconf: accept ICMP" protocol=icmp
- add chain=input comment="defconf: accept established,related" \
- connection-state=established,related
- add action=drop chain=input comment="defconf: drop all from WAN" \
- in-interface=ether1
- add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
- connection-state=established,related
- add chain=forward comment="defconf: accept established,related" \
- connection-state=established,related
- 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=ether1
- /ip firewall nat
- add action=masquerade chain=srcnat comment="defconf: masquerade" \
- out-interface=ether1
- /ip service
- set telnet disabled=yes
- /system clock
- set time-zone-name=Europe/Zagreb
- /system leds
- set 1 interface=wlan2
- /system routerboard settings
- set cpu-frequency=720MHz protected-routerboot=disabled
- /tool mac-server
- set [ find default=yes ] disabled=yes
- add interface=bridge
- /tool mac-server mac-winbox
- set [ find default=yes ] disabled=yes
- add interface=bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement