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.40.5 (c) 1999-2017 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
- dec/01/2017 09:30:00 system,error,critical router was rebooted without proper shut
- down
- dec/01/2017 09:52:57 system,error,critical router was rebooted without proper shut
- down
- dec/01/2017 18:47:41 system,error,critical login failure for user admin from 64:31
- :50:27:C4:0C via winbox
- [admin@MikroTik] > export
- # dec/01/2017 23:29:35 by RouterOS 6.40.5
- # software id = 8J5W-L8TT
- #
- # model = RouterBOARD 941-2nD
- # serial number = 6617065E74E1
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n ssid=MikroTik \
- wireless-protocol=nv2-nstreme-802.11
- /interface ethernet
- set [ find default-name=ether3 ] master-port=ether2
- set [ find default-name=ether4 ] master-port=ether2
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip firewall layer7-protocol
- add name=youtube regexp="^..+\\.(youtube.com|googlevideo.com|).*\$"
- /ip pool
- add name=dhcp_pool1 ranges=192.168.1.2-192.168.1.254
- add name=dhcp_pool2 ranges=192.168.1.2-192.168.1.254
- /ip dhcp-server
- add address-pool=dhcp_pool2 authoritative=after-2sec-delay disabled=no \
- interface=ether2 name=dhcp1
- /queue type
- set 0 pfifo-limit=65
- add kind=pcq name=shape pcq-classifier=src-address pcq-dst-address6-mask=64 \
- pcq-rate=128k pcq-src-address6-mask=64
- add kind=pcq name=PCQ_download pcq-classifier=dst-address \
- pcq-dst-address6-mask=64 pcq-src-address6-mask=64
- add kind=pcq name=PCQ_UPLOAD pcq-classifier=src-address pcq-dst-address6-mask=\
- 64 pcq-src-address6-mask=64
- add kind=pcq name=Client_download pcq-classifier=dst-address \
- pcq-dst-address6-mask=64 pcq-rate=2M pcq-src-address6-mask=64
- add kind=pcq name=Client_Upload pcq-classifier=src-address,dst-address \
- pcq-dst-address6-mask=64 pcq-rate=1M pcq-src-address6-mask=64
- /queue tree
- add name=PING packet-mark=ping-pkt parent=global queue=default
- add name=ALL-Bandwidth packet-mark=ALL-Data parent=PING queue=PCQ_download
- add name=LOL packet-mark=LOL-packet2 parent=ALL-Bandwidth priority=4
- add name=Youtube packet-mark=youtube-packet parent=ALL-Bandwidth priority=5 \
- queue=default
- add name=CF packet-mark=CF-packet parent=ALL-Bandwidth priority=1 queue=default
- add name=Dota2 packet-mark=Dota2-packet parent=ALL-Bandwidth priority=2 queue=\
- default
- add name=Garena packet-mark=Garena-tcp-packet parent=ALL-Bandwidth priority=3 \
- queue=default
- /ip address
- add address=192.168.1.1/24 interface=ether2 network=192.168.1.0
- /ip dhcp-client
- add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
- interface=ether1
- add dhcp-options=hostname,clientid disabled=no interface=wlan1
- /ip dhcp-server network
- add address=192.168.1.0/24 dns-server=192.168.1.1,8.8.8.8,8.8.4.4 gateway=\
- 192.168.1.1
- /ip firewall mangle
- add action=mark-connection chain=prerouting comment=PING new-connection-mark=\
- Ping-conn passthrough=yes protocol=icmp
- add action=mark-packet chain=prerouting connection-mark=Ping-conn \
- new-packet-mark=ping-pkt passthrough=no
- add action=mark-connection chain=prerouting comment=All_connection-DL \
- in-interface=ether1 new-connection-mark=All_Connection passthrough=yes
- add action=mark-packet chain=forward connection-mark=All_Connection \
- new-packet-mark=ALL_Bandwidth passthrough=no
- add action=mark-connection chain=prerouting comment=All_connection-UP \
- in-interface=ether2 new-connection-mark=All_connection_UP passthrough=yes
- add action=mark-packet chain=forward connection-mark=All_connection_UP \
- new-packet-mark=ALL-Data-up passthrough=no
- add action=mark-connection chain=prerouting comment=LOL connection-mark=\
- All_Connection dst-port=2099,5223,5136,9100-9200,2099,5223,5222 \
- new-connection-mark=LOL-conn passthrough=yes protocol=tcp
- add action=mark-packet chain=prerouting connection-mark=LOL-conn \
- new-packet-mark=LOL-packet passthrough=no
- add action=mark-connection chain=prerouting connection-mark=All_Connection \
- dst-port=5000-5500,21900 new-connection-mark=LOL-udp-connection \
- passthrough=yes protocol=udp
- add action=mark-packet chain=prerouting connection-mark=LOL-udp-connection \
- new-packet-mark=LOL-packet passthrough=no
- add action=mark-connection chain=prerouting comment=CF connection-mark=\
- All_Connection dst-port=1666,10008-10009,13006-13008 new-connection-mark=\
- CF-conn-tcp passthrough=yes protocol=tcp
- add action=mark-packet chain=prerouting connection-mark=CF-conn-tcp \
- new-packet-mark=CF-packet passthrough=no
- add action=mark-connection chain=prerouting connection-mark=All_Connection \
- dst-port=12000-12080,1300-13099 new-connection-mark=CF-conn-udp \
- passthrough=yes protocol=udp
- add action=mark-packet chain=prerouting connection-mark=CF-conn-udp \
- new-packet-mark=CF-packet passthrough=no
- add action=mark-connection chain=prerouting comment=DOTA2 connection-mark=\
- All_Connection dst-port=27021,27038 new-connection-mark=Dota2-tcp-conn \
- passthrough=yes protocol=tcp
- add action=mark-connection chain=prerouting connection-mark=All_Connection \
- dst-port=27016-27020,27000-27015,27021-27050 new-connection-mark=\
- Dota2-udp-conn passthrough=yes protocol=udp
- add action=mark-packet chain=prerouting connection-mark=Dota2-tcp-conn \
- new-packet-mark=Dota2-packet passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Dota2-udp-conn \
- new-packet-mark=Dota2-packet passthrough=yes
- add action=mark-connection chain=prerouting comment=Garena connection-mark=\
- All_Connection dst-port=19000,9100,9200,21900,12000 new-connection-
- Garena-tcp-conn passthrough=yes protocol=tcp
- add action=mark-connection chain=prerouting connection-mark=All_Connect
- dst-port=19900 new-connection-mark=Garena-udp-conn passthrough=yes
- protocol=udp
- add action=mark-packet chain=prerouting connection-mark=Garena-tcp-conn
- new-packet-mark=Garena-tcp-packet passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Garena-udp-conn
- new-packet-mark=Garena-udp-packet passthrough=no
- add action=mark-connection chain=prerouting comment=Youtube_Up layer7-p
- youtube new-connection-mark=youtube-up packet-mark=ALL-Data-up pass
- yes
- add action=mark-packet chain=forward connection-mark=youtube-up \
- new-packet-mark=youtube-packet passthrough=no
- add action=mark-connection chain=prerouting comment=Youtube_DL connecti
- All_Connection layer7-protocol=youtube new-connection-mark=Youtube-
- passthrough=yes
- add action=mark-packet chain=forward connection-mark=Youtube-dl-conn \
- new-packet-mark=youtube-packet passthrough=no
- /ip firewall nat
- add action=masquerade chain=srcnat
- /system clock
- set time-zone-name=Asia/Manila
- [admin@MikroTik] >
- [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement