Advertisement
Guest User

R3

a guest
Nov 3rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. # nov/03/2017 13:42:34 by RouterOS 6.40.4
  2. # software id = 8M71-I4IR
  3. #
  4. # model = RouterBOARD 941-2nD
  5. # serial number = 661606EF912F
  6. /interface bridge
  7. add admin-mac=6C:3B:6B:65:78:64 auto-mac=no comment=defconf fast-forward=no \
  8. name=bridge
  9. /interface ethernet
  10. set [ find default-name=ether1 ] name="ether1 wan"
  11. set [ find default-name=ether3 ] master-port=ether2
  12. set [ find default-name=ether4 ] master-port=ether2
  13. /interface l2tp-client
  14. add connect-to=tpk4.riat.ru disabled=no name=l2tp-to-tpk4-mts password=\
  15. ****** user=Svobodny
  16. /ip neighbor discovery
  17. set "ether1 wan" discover=no
  18. /interface wireless security-profiles
  19. set [ find default=yes ] supplicant-identity=MikroTik
  20. add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=\
  21. tkip,aes-ccm management-protection=allowed mode=dynamic-keys name=\
  22. profile1 supplicant-identity="" unicast-ciphers=tkip,aes-ccm \
  23. wpa-pre-shared-key=1234554321 wpa2-pre-shared-key=1234554321
  24. /interface wireless
  25. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
  26. country=russia disabled=no distance=indoors frequency=auto mode=ap-bridge \
  27. radio-name=MikroTik-riat security-profile=profile1 ssid=TD-RIAT \
  28. wireless-protocol=802.11
  29. /ip pool
  30. add name=dhcp_pool1 ranges=192.168.83.50-192.168.83.254
  31. /ip dhcp-server
  32. add address-pool=dhcp_pool1 disabled=no interface=bridge name=dhcp1
  33. /interface bridge port
  34. add bridge=bridge comment=defconf interface=ether2
  35. add bridge=bridge interface=wlan1
  36. /ip address
  37. add address=192.168.83.1/24 comment=defconf interface=bridge network=\
  38. 192.168.83.0
  39. add address=213.87.96.84/24 interface="ether1 wan" network=213.87.96.0
  40. /ip cloud
  41. set ddns-enabled=yes
  42. /ip dhcp-client
  43. add comment=defconf dhcp-options=hostname,clientid disabled=no interface=\
  44. "ether1 wan"
  45. /ip dhcp-server network
  46. add address=192.168.83.0/24 dns-server=\
  47. 10.104.0.4,213.87.103.249,213.87.96.241 gateway=192.168.83.1
  48. /ip dns
  49. set allow-remote-requests=yes servers=10.104.0.4,213.87.103.249,213.87.96.241
  50. /ip dns static
  51. add address=192.168.88.1 name=router
  52. /ip firewall nat
  53. add action=masquerade chain=srcnat comment="defconf: masquerade" \
  54. out-interface="ether1 wan"
  55. add action=masquerade chain=srcnat out-interface=l2tp-to-tpk4-mts
  56. /ip route
  57. add distance=1 gateway=213.87.96.1
  58. add comment="route to 4505" distance=1 dst-address=10.100.0.0/22 gateway=\
  59. 10.50.0.10 pref-src=10.50.0.11
  60. add comment="route to tpk4" distance=1 dst-address=10.104.0.0/22 gateway=\
  61. 10.50.0.10 pref-src=10.50.0.11
  62. /ip service
  63. set telnet disabled=yes
  64. set ftp disabled=yes
  65. set www disabled=yes
  66. set ssh disabled=yes
  67. set api disabled=yes
  68. set api-ssl disabled=yes
  69. /system clock
  70. set time-zone-name=Asia/Krasnoyarsk
  71. /system identity
  72. set name=MikroTik_Svobodny
  73. /tool mac-server
  74. set [ find default=yes ] disabled=yes
  75. add interface=bridge
  76. /tool mac-server mac-winbox
  77. set [ find default=yes ] disabled=yes
  78. add interface=bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement