Advertisement
forsquirel

export-09.06.2021

Sep 6th, 2021
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. # sep/06/2021 13:17:24 by RouterOS 6.48.3
  2. # software id = d34d-b33f
  3. #
  4. # model = RB760iGS
  5. # serial number = 3.14192
  6. /interface bridge
  7. add admin-mac= auto-mac=no ingress-filtering=yes name=bridge \
  8. vlan-filtering=yes
  9. /interface ethernet
  10. set [ find default-name=ether5 ] loop-protect=on poe-out=off
  11. set [ find default-name=sfp1 ] disabled=yes
  12. /interface vlan
  13. add interface=bridge name=vlan_cameras vlan-id=30
  14. add interface=bridge name=vlan_guest vlan-id=10
  15. add interface=bridge name=vlan_lan vlan-id=11
  16. /interface list
  17. add comment=defconf name=WAN
  18. add comment=defconf name=LAN
  19. /interface wireless security-profiles
  20. set [ find default=yes ] supplicant-identity=MikroTik
  21. /ip dhcp-server option
  22. add code=6 name=HollyDNS value="'192.168.1.13''192.168.1.14''192.168.1.1'"
  23. add code=6 name=EverlyDNS value="'192.168.1.14''192.168.1.13''192.168.1.1'"
  24. add code=6 name=LocalDNS value="'192.168.1.1'"
  25. add code=42 name="NTP Server" value="'192.168.1.16'"
  26. /ip kid-control
  27. add fri=6h-22h mon=6h-21h name=Kiddo thu=6h-21h tue=6h-21h wed=6h-21h
  28. /ip pool
  29. add name=pool_lan ranges=192.168.1.100-192.168.1.125
  30. add name=pool_guest ranges=192.168.10.2-192.168.10.14
  31. add name=pool_cameras ranges=192.168.30.2-192.168.30.14
  32. /ip dhcp-server
  33. add address-pool=pool_lan disabled=no interface=vlan_lan name=dhcp_lan
  34. add address-pool=pool_guest disabled=no interface=vlan_guest name=dhcp_guest
  35. add address-pool=pool_cameras disabled=no interface=vlan_cameras name=\
  36. dhcp_cameras
  37. /interface bridge port
  38. add bridge=bridge interface=ether2
  39. add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
  40. ingress-filtering=yes interface=ether3 pvid=11
  41. add bridge=bridge interface=ether4
  42. add bridge=bridge ingress-filtering=yes interface=ether5 frame-types=admit-only-vlan-tagged
  43. add bridge=bridge disabled=yes interface=sfp1
  44. /ip neighbor discovery-settings
  45. set discover-interface-list=LAN
  46. /interface bridge vlan
  47. add bridge=bridge tagged=ether5,bridge vlan-ids=10
  48. add bridge=bridge tagged=ether5,bridge vlan-ids=30
  49. add bridge=bridge tagged=ether5,bridge vlan-ids=11
  50. /interface list member
  51. add interface=bridge list=LAN
  52. add interface=ether1 list=WAN
  53. add interface=vlan_cameras list=LAN
  54. add interface=vlan_guest list=LAN
  55. add interface=vlan_lan list=LAN
  56. /ip address
  57. add address=192.168.10.1/25 interface=vlan_guest network=192.168.10.0
  58. add address=192.168.30.1/28 interface=vlan_cameras network=192.168.30.0
  59. add address=192.168.1.1/25 interface=vlan_lan network=192.168.1.0
  60. /ip dhcp-client
  61. add disabled=no interface=ether1 use-peer-dns=no
  62. /ip dhcp-server network
  63. add address=192.168.1.0/25 dhcp-option=HollyDNS gateway=192.168.1.1 netmask=\
  64. 25
  65. add address=192.168.10.0/28 dns-server=208.67.222.222,208.67.220.220 gateway=\
  66. 192.168.10.1 netmask=28
  67. add address=192.168.30.0/28 gateway=192.168.30.1
  68. /ip dns
  69. set allow-remote-requests=yes
  70. /ip dns static
  71. add address=192.168.1.1 name=router.lan
  72. /ip firewall filter
  73. add action=accept chain=input comment=\
  74. "defconf: accept established,related,untracked" connection-state=\
  75. established,related,untracked
  76. add action=accept chain=input comment="Allow Vlan" in-interface=vlan_lan
  77. add action=drop chain=input comment="defconf: drop invalid" connection-state=\
  78. invalid
  79. add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
  80. add action=accept chain=input comment=\
  81. "defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
  82. add action=drop chain=input comment="defconf: drop all not coming from LAN" \
  83. in-interface-list=!LAN
  84. add action=accept chain=forward comment="defconf: accept in ipsec policy" \
  85. ipsec-policy=in,ipsec
  86. add action=accept chain=forward comment="defconf: accept out ipsec policy" \
  87. ipsec-policy=out,ipsec
  88. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
  89. connection-state=established,related
  90. add action=accept chain=forward comment=\
  91. "defconf: accept established,related, untracked" connection-state=\
  92. established,related,untracked
  93. add action=drop chain=forward comment="defconf: drop invalid" \
  94. connection-state=invalid
  95. add action=drop chain=forward comment=\
  96. "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
  97. connection-state=new in-interface-list=WAN
  98. /ip firewall nat
  99. add action=masquerade chain=srcnat comment=defcon ipsec-policy=out,none \
  100. out-interface-list=WAN
  101. /ip kid-control device
  102. add mac-address=C0:8C:71:A7:70:D1 name=Jubilee user=Kiddo
  103. add mac-address=24:4B:FE:8E:6A:2C name="Dunkin Desktop" user=Kiddo
  104. add mac-address=58:B1:0F:BE:CD:24 name=Dunkin-Tablet user=Kiddo
  105. add mac-address=B8:A1:75:DF:34:A9 name="Dunkin Roku" user=Kiddo
  106. add mac-address=DC:FB:48:ED:7C:81 name="Dunkin Chromebook" user=Kiddo
  107. /system clock
  108. set time-zone-name=America/New_York
  109. /system identity
  110. set name=Morehead
  111. /system ntp client
  112. set enabled=yes primary-ntp=192.168.1.16
  113. /tool mac-server
  114. set allowed-interface-list=LAN
  115. /tool mac-server mac-winbox
  116. set allowed-interface-list=LAN
  117.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement