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/24/2019 17:58:46 by RouterOS 6.43.12
- # software id = L1VG-A1FB
- #
- # model = RouterBOARD 952Ui-5ac2nD
- # serial number = ***********
- /interface bridge
- add admin-mac=B8:69:F4:2C:C9:F1 auto-mac=no comment=defconf name=bridge
- /interface ethernet
- set [ find default-name=ether2 ] name=lan1
- set [ find default-name=ether3 ] name=lan2
- set [ find default-name=ether4 ] name=lan3
- set [ find default-name=ether5 ] name=lan4
- set [ find default-name=ether1 ] mac-address=14:DA:E9:22:26:E2 name=wan
- /interface pppoe-client
- add add-default-route=yes disabled=no interface=wan name=pppoe-internet password=password use-peer-dns=yes user=user
- add add-default-route=yes disabled=no interface=wan name=pppoe-out1 password=******** use-peer-dns=yes user=********
- /interface wireless
- set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-b/g/n channel-width=20/40mhz-XX country=ukraine disabled=no distance=indoors frequency=auto hw-protection-mode=rts-cts mode=\
- ap-bridge multicast-helper=full name=wlan ssid=Wi-Fi_Dubai_2 wireless-protocol=802.11 wmm-support=enabled
- 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=*********** wpa2-pre-shared-key=************
- /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=lan1
- add bridge=bridge comment=defconf interface=lan2
- add bridge=bridge comment=defconf interface=lan3
- add bridge=bridge comment=defconf interface=lan4
- add bridge=bridge comment=defconf interface=wlan
- add bridge=bridge comment=defconf interface=wlan2
- /interface list member
- add comment=defconf interface=bridge list=LAN
- add comment=defconf interface=wan list=WAN
- add interface=pppoe-out1 list=WAN
- /ip address
- add address=192.168.88.1/24 comment=defconf interface=lan1 network=192.168.88.0
- /ip dhcp-client
- add comment=defconf dhcp-options=hostname,clientid interface=wan
- /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=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
- add action=accept chain=input comment="Enable IPTV" protocol=igmp
- add action=accept chain=forward dst-port=1234 protocol=udp
- add action=accept chain=forward protocol=igmp
- 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
- # pppoe-internet not ready
- add action=masquerade chain=srcnat comment="NAT INTERNET" out-interface=pppoe-internet
- /ip upnp
- set enabled=yes
- /ip upnp interfaces
- add interface=bridge type=internal
- add interface=pppoe-out1 type=external
- /routing igmp-proxy
- set query-interval=1m quick-leave=yes
- /routing igmp-proxy interface
- add comment="Downstream IPTV" interface=bridge
- add alternative-subnets=172.17.24.0/24,10.255.5.0/24 comment="Upstream IPTV" interface=wan upstream=yes
- /system clock
- set time-zone-name=Europe/Kiev
- [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement