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.35.4 (c) 1999-2016 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
- # apr/03/2016 10:27:24 by RouterOS 6.35.4
- # software id = H7XW-XVD2
- #
- /interface bridge
- add mtu=1500 name=bridge1 protocol-mode=none
- /interface wireless security-profiles
- add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=WPA supplicant-identity="" wpa-pre-shared-key=1500100900abc1500100900 \
- wpa2-pre-shared-key=1500100900abc1500100900
- add authentication-types=wpa-psk eap-methods="" group-ciphers=tkip management-protection=allowed mode=dynamic-keys name=test supplicant-identity="" unicast-ciphers=tkip \
- wpa-pre-shared-key=testtest wpa2-pre-shared-key=testtest
- add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=strabag supplicant-identity="" wpa-pre-shared-key=umicore2014 \
- wpa2-pre-shared-key=umicore2014
- /interface wireless
- set [ find default-name=wlan1 ] country=poland distance=indoors frequency=2437 hw-retries=15 mode=ap-bridge security-profile=WPA ssid=BRK.NETWORK.DEVICES wireless-protocol=802.11
- /interface wireless nstreme
- set wlan1 enable-polling=no
- /ip neighbor discovery
- set wlan1 discover=no
- /ip ipsec proposal
- set [ find default=yes ] enc-algorithms=3des
- /ip pool
- add name=dhcp_pool1 ranges=192.168.2.100-192.168.2.254
- add name=dhcp_pool2 ranges=192.168.30.2-192.168.30.254
- /ip dhcp-server
- add address-pool=dhcp_pool1 disabled=no interface=bridge1 lease-time=3d name=dhcp1
- add address-pool=dhcp_pool2 lease-time=3d name=dhcp2
- /port
- set 0 baud-rate=auto name=usb1
- set 1 baud-rate=auto name=usb2
- /system logging action
- set 0 memory-lines=100
- set 1 disk-lines-per-file=100
- /interface bridge port
- add bridge=bridge1 interface=wlan1
- add bridge=bridge1 interface=ether4
- add bridge=bridge1 interface=ether3
- /ip settings
- set icmp-rate-limit=5 rp-filter=strict secure-redirects=no send-redirects=no
- /interface pppoe-server server
- add disabled=no max-mru=1480 max-mtu=1480 mrru=1600 service-name=service1
- /interface pptp-server server
- set authentication=pap,chap,mschap1,mschap2 enabled=yes max-mru=1460 max-mtu=1460
- /ip address
- add address=10.205.198.1/23 interface=ether2 network=10.205.198.0
- add address=10.200.51.56/30 interface=ether1 network=10.200.51.56
- add address=192.168.2.1/24 interface=ether5 network=192.168.2.0
- /ip dhcp-client
- add default-route-distance=0 dhcp-options=hostname,clientid
- add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether1
- add add-default-route=no dhcp-options=hostname,clientid use-peer-dns=no use-peer-ntp=no
- /ip dhcp-relay
- add dhcp-server=10.200.200.31 disabled=no interface=ether2 name=relay1
- /ip dhcp-server lease
- add address=192.168.2.104 mac-address=90:2B:34:E4:38:98 server=dhcp1
- add address=192.168.2.124 mac-address=00:0E:7F:DF:15:67 server=dhcp1
- /ip dhcp-server network
- add address=192.168.2.0/24 gateway=192.168.2.1
- add address=192.168.30.0/24 gateway=192.168.30.1
- /ip dns
- set allow-remote-requests=yes servers=8.8.8.8
- /ip dns static
- add address=10.50.50.103 name=unifi
- /ip firewall filter
- add action=drop chain=input dst-port=53 in-interface=ether1 protocol=udp src-address=0.0.0.0
- /ip firewall nat
- add action=masquerade chain=srcnat src-address=192.168.3.0/24
- add action=dst-nat chain=dstnat dst-port=80 in-interface=ether1 protocol=tcp to-addresses=192.168.3.31 to-ports=80
- add action=dst-nat chain=dstnat dst-port=23 in-interface=ether1 protocol=tcp to-addresses=192.168.3.31 to-ports=21
- /ip proxy
- set cache-path=web-proxy1 enabled=yes parent-proxy=0.0.0.0
- /ip proxy access
- add dst-address=0.0.0.0/0 src-address=192.168.30.0/24
- add dst-address=0.0.0.0/0 src-address=91.238.52.0/22
- add dst-address=0.0.0.0/0 src-address=176.124.140.0/22
- add dst-address=0.0.0.0/0 src-address=31.69.0.0/16
- add dst-address=0.0.0.0/0 src-address=31.61.0.0/16
- add action=deny dst-address=0.0.0.0/0 src-address=0.0.0.0/0
- /ip route
- add distance=1 gateway=10.200.51.57
- /ip service
- set telnet disabled=yes
- set www port=808
- set ssh disabled=yes
- set api disabled=yes
- set api-ssl disabled=yes
- /ppp secret
- add local-address=192.168.30.30 name=brk password=supertest54 profile=default-encryption remote-address=192.168.30.31
- add local-address=192.168.30.32 name=dps password=dpsdps54 profile=default-encryption remote-address=192.168.30.33
- add local-address=192.168.30.34 name=intermarche password=intermarche profile=default-encryption remote-address=192.168.30.35
- add local-address=192.168.30.36 name=bartek password=bartek101test remote-address=192.168.30.37
- add local-address=192.168.30.38 name=arturtarka password=a7wa8e0aees2va9 profile=default-encryption remote-address=192.168.30.39 service=pptp
- add local-address=192.168.30.40 name=paczkow password=paczkow1 profile=default-encryption remote-address=192.168.30.41
- /routing pim
- set switch-to-spt-interval=30s
- /routing pim interface
- add
- /routing pim rp
- add address=10.200.200.20
- /snmp
- set enabled=yes
- /system clock
- set time-zone-autodetect=no
- /system leds
- set 0 interface=wlan1
- /system logging
- add disabled=yes topics=pptp
- add topics=sstp
- /system ntp client
- set enabled=yes primary-ntp=153.19.250.123
- /system script
- add name=sendmail owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
- "/tool sniffer quick interface=vlan1 duration=10\r\
- \n:delay 15\r\
- \n/tool e-mail send to=\"info@devices.pl\" subject=\"Alert\" body=\"Zrzut ruchu\" file=test.pcap"
- /tool e-mail
- set address=193.17.41.99 from=<brokenik@o2.pl> password=weatherking port=587 user=brokenik@o2.pl
- /tool sniffer
- set file-name=test.pcap
- /tool traffic-monitor
- add disabled=yes name=tmon1 on-event=sendmail threshold=3000000 traffic=received
- [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement