Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MMM MMM KKK TTTTTTTTTTT KKK
- MMMM MMMM KKK TTTTTTTTTTT KKK
- MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
- MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
- MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
- MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
- MikroTik RouterOS 6.43.12 (c) 1999-2018 http://www.mikrotik.com/
- [?] Gives the list of available commands
- command [?] Gives help on the command and list of arguments
- [Tab] Completes the command/word. If the input is ambiguous,
- a second [Tab] gives possible options
- / Move up to base level
- .. Move up one level
- /command Use command at the base level
- [admin@MikroTik] > export
- # feb/25/2019 20:44:54 by RouterOS 6.43.12
- # software id = L1VG-A1FB
- #
- # model = RouterBOARD 952Ui-5ac2nD
- # serial number = 9249090B15CA
- /interface bridge
- add admin-mac=B8:69:F4:2C:C9:F1 auto-mac=no comment=defconf name=bridge
- /interface ethernet
- set [ find default-name=ether1 ] mac-address=14:DA:E9:22:26:E2
- /interface pppoe-client
- add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 password=27081985 use-peer-dns=yes user=smith27
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_2 wireless-protocol=802.11
- set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_5 wireless-protocol=802.11
- /interface list
- add comment=defconf name=WAN
- add comment=defconf name=LAN
- /interface wireless security-profiles
- set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=0675200577 wpa2-pre-shared-key=0675200577
- /ip hotspot profile
- set [ find default=yes ] html-directory=flash/hotspot
- /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
- /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=ether5
- add bridge=bridge comment=defconf interface=wlan1
- add bridge=bridge comment=defconf interface=wlan2
- /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
- add interface=pppoe-out1 list=WAN
- /ip address
- add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
- /ip dhcp-client
- add comment=defconf dhcp-options=hostname,clientid interface=ether1
- add 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.lan
- /ip firewall filter
- 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=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=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
- /ip upnp
- set enabled=yes
- /ip upnp interfaces
- add interface=bridge type=internal
- add interface=pppoe-out1 type=external
- /system clock
- set time-zone-name=Europe/Kiev
- /tool mac-server
- set allowed-interface-list=LAN
- /tool mac-server mac-winbox
- set allowed-interface-list=LAN
- [admin@MikroTik] > ip route print
- Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
- # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
- 0 ADS 0.0.0.0/0 pppoe-out1 1
- 1 ADS 100.64.0.0/24 172.18.65.1 1
- 2 ADS 172.17.0.0/16 172.18.65.1 1
- 3 ADS 172.18.0.0/16 172.18.65.1 1
- 4 ADC 172.18.65.0/24 172.18.65.9 ether1 0
- 5 ADS 172.19.0.0/16 172.18.65.1 1
- [admin
- @Mikro
- Tik] >
- [admin@MikroTik] > export
- # feb/25/2019 20:51:54 by RouterOS 6.43.12
- # software id = L1VG-A1FB
- #
- # model = RouterBOARD 952Ui-5ac2nD
- # serial number = 9249090B15CA
- /interface bridge
- add admin-mac=B8:69:F4:2C:C9:F1 auto-mac=no comment=defconf name=bridge
- /interface ethernet
- set [ find default-name=ether1 ] mac-address=14:DA:E9:22:26:E2
- /interface pppoe-client
- add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 password=27081985 use-peer-dns=yes user=smith27
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_2 wireless-protocol=802.11
- set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_5 wireless-protocol=802.11
- /interface list
- add comment=defconf name=WAN
- add comment=defconf name=LAN
- /interface wireless security-profiles
- set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=0675200577 wpa2-pre-shared-key=0675200577
- /ip hotspot profile
- set [ find default=yes ] html-directory=flash/hotspot
- /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
- /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=ether5
- add bridge=bridge comment=defconf interface=wlan1
- add bridge=bridge comment=defconf interface=wlan2
- /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
- add interface=pppoe-out1 list=WAN
- /ip address
- add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
- /ip dhcp-client
- add comment=defconf dhcp-options=hostname,clientid interface=ether1
- add 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.lan
- /ip firewall filter
- 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=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=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
- /ip upnp
- set enabled=yes
- /ip upnp interfaces
- add interface=bridge type=internal
- add interface=pppoe-out1 type=external
- /system clock
- set time-zone-name=Europe/Kiev
- /tool mac-server
- set allowed-interface-list=LAN
- /tool mac-server mac-winbox
- set allowed-interface-list=LAN
- [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement