Guest User

Untitled

a guest
Oct 29th, 2024
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. # 2024-10-29 15:32:23 by RouterOS 7.16.1
  2. # software id = [REMOVED]
  3. #
  4. # model = RB4011iGS+
  5. # serial number = [REMOVED]
  6. /interface bridge
  7. add admin-mac=[REMOVED] auto-mac=no comment=defconf name=bridge port-cost-mode=short
  8. /interface ethernet
  9. set [ find default-name=ether1 ] advertise=1G-baseT-full mac-address=[REMOVED]
  10. set [ find default-name=ether3 ] advertise=100M-baseT-full,1G-baseT-full name="ether3 - switch"
  11. set [ find default-name=ether4 ] name="ether4 laptop"
  12. /interface vlan
  13. add interface=ether1 name=FastWebWAN vlan-id=835
  14. /interface list
  15. add comment=defconf name=WAN
  16. add comment=defconf name=LAN
  17. /interface lte apn
  18. set [ find default=yes ] ip-type=ipv4 use-network-apn=no
  19. /interface wireless security-profiles
  20. set [ find default=yes ] supplicant-identity=MikroTik
  21. /ip dhcp-client option
  22. add code=60 name=FastWeb value="'SERCOMM_HW_V01_SW_FG4225R.FW_VXTF6_3.3.01.02/dslforum.org/https'"
  23. /ip pool
  24. add name=dhcp ranges=192.168.88.10-192.168.88.254
  25. /ip dhcp-server
  26. add address-pool=dhcp interface=bridge lease-time=10m name=defconf
  27. /ip smb users
  28. set [ find default=yes ] disabled=yes
  29. /port
  30. set 0 name=serial0
  31. set 1 name=serial1
  32. /queue type
  33. add kind=fq-codel name=fq-codel
  34. add kind=cake name=cake
  35. /queue tree
  36. add max-limit=800M name=queue-download packet-mark=no-mark parent=bridge queue=fq-codel
  37. add max-limit=800M name=queue-upload packet-mark=no-mark parent=FastWebWAN queue=fq-codel
  38. /interface bridge port
  39. add bridge=bridge comment=defconf ingress-filtering=no interface=ether2 internal-path-cost=10 path-cost=10
  40. add bridge=bridge comment=defconf ingress-filtering=no interface="ether3 - switch" internal-path-cost=10 path-cost=10
  41. add bridge=bridge comment=defconf ingress-filtering=no interface="ether4 laptop" internal-path-cost=10 path-cost=10
  42. add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 internal-path-cost=10 path-cost=10
  43. add bridge=bridge comment=defconf ingress-filtering=no interface=ether6 internal-path-cost=10 path-cost=10
  44. add bridge=bridge comment=defconf ingress-filtering=no interface=ether7 internal-path-cost=10 path-cost=10
  45. add bridge=bridge comment=defconf ingress-filtering=no interface=ether8 internal-path-cost=10 path-cost=10
  46. add bridge=bridge comment=defconf ingress-filtering=no interface=ether9 internal-path-cost=10 path-cost=10
  47. add bridge=bridge comment=defconf ingress-filtering=no interface=ether10 internal-path-cost=10 path-cost=10
  48. add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10
  49. /ip firewall connection tracking
  50. set udp-timeout=10s
  51. /ip neighbor discovery-settings
  52. set discover-interface-list=LAN
  53. /ip settings
  54. set max-neighbor-entries=8192
  55. /ipv6 settings
  56. set disable-ipv6=yes max-neighbor-entries=8192
  57. /interface list member
  58. add comment=defconf interface=bridge list=LAN
  59. add comment=defconf interface=ether1 list=WAN
  60. /interface ovpn-server server
  61. set auth=sha1,md5
  62. /ip address
  63. add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
  64. add address=93.1.1.1 disabled=yes interface=FastWebWAN network=93.1.1.1
  65. /ip dhcp-client
  66. add add-default-route=no comment=defconf dhcp-options=FastWeb interface=FastWebWAN use-peer-ntp=no
  67. /ip dhcp-server network
  68. add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1,1.1.1.1 gateway=192.168.88.1
  69. /ip dns
  70. set allow-remote-requests=yes servers=1.1.1.1 use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes
  71. /ip dns static
  72. add address=192.168.88.1 comment=defconf name=router.lan type=A
  73. add address=1.1.1.1 name=cloudflare-dns.com type=A
  74. /ip firewall filter
  75. add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
  76. add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
  77. add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
  78. add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
  79. add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
  80. add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
  81. add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
  82. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related disabled=yes hw-offload=yes
  83. add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
  84. add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
  85. add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
  86. /ip firewall nat
  87. add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface=FastWebWAN
  88. /ip ipsec profile
  89. set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5
  90. /ip route
  91. add disabled=no dst-address=0.0.0.0/0 gateway=FastWebWAN
  92. /ip service
  93. set telnet disabled=yes
  94. set ftp disabled=yes
  95. set www-ssl disabled=no
  96. set api disabled=yes
  97. set winbox disabled=yes
  98. set api-ssl disabled=yes
  99. /ip smb shares
  100. set [ find default=yes ] directory=/pub
  101. /routing bfd configuration
  102. add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
  103. /system clock
  104. set time-zone-name=Europe/Rome
  105. /system identity
  106. set name=[REMOVED]
  107. /system note
  108. set show-at-login=no
  109. /system ntp client
  110. set enabled=yes
  111. /system ntp client servers
  112. add address=time.cloudflare.com
  113. /system package update
  114. set channel=testing
  115. /system resource irq rps
  116. set sfp-sfpplus1 disabled=no
  117. /system scheduler
  118. add interval=3d name=Reboot policy=reboot start-date=2024-06-12 start-time=04:00:00
  119. /tool graphing interface
  120. add allow-address=192.168.88.0/24 interface=ether1
  121. /tool graphing resource
  122. add allow-address=192.168.88.0/24
  123. /tool mac-server
  124. set allowed-interface-list=LAN
  125. /tool mac-server mac-winbox
  126. set allowed-interface-list=LAN
Advertisement
Add Comment
Please, Sign In to add comment