Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2024-10-29 15:32:23 by RouterOS 7.16.1
- # software id = [REMOVED]
- #
- # model = RB4011iGS+
- # serial number = [REMOVED]
- /interface bridge
- add admin-mac=[REMOVED] auto-mac=no comment=defconf name=bridge port-cost-mode=short
- /interface ethernet
- set [ find default-name=ether1 ] advertise=1G-baseT-full mac-address=[REMOVED]
- set [ find default-name=ether3 ] advertise=100M-baseT-full,1G-baseT-full name="ether3 - switch"
- set [ find default-name=ether4 ] name="ether4 laptop"
- /interface vlan
- add interface=ether1 name=FastWebWAN vlan-id=835
- /interface list
- add comment=defconf name=WAN
- add comment=defconf name=LAN
- /interface lte apn
- set [ find default=yes ] ip-type=ipv4 use-network-apn=no
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip dhcp-client option
- add code=60 name=FastWeb value="'SERCOMM_HW_V01_SW_FG4225R.FW_VXTF6_3.3.01.02/dslforum.org/https'"
- /ip pool
- add name=dhcp ranges=192.168.88.10-192.168.88.254
- /ip dhcp-server
- add address-pool=dhcp interface=bridge lease-time=10m name=defconf
- /ip smb users
- set [ find default=yes ] disabled=yes
- /port
- set 0 name=serial0
- set 1 name=serial1
- /queue type
- add kind=fq-codel name=fq-codel
- add kind=cake name=cake
- /queue tree
- add max-limit=800M name=queue-download packet-mark=no-mark parent=bridge queue=fq-codel
- add max-limit=800M name=queue-upload packet-mark=no-mark parent=FastWebWAN queue=fq-codel
- /interface bridge port
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether2 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface="ether3 - switch" internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface="ether4 laptop" internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether6 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether7 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether8 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether9 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=ether10 internal-path-cost=10 path-cost=10
- add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10
- /ip firewall connection tracking
- set udp-timeout=10s
- /ip neighbor discovery-settings
- set discover-interface-list=LAN
- /ip settings
- set max-neighbor-entries=8192
- /ipv6 settings
- set disable-ipv6=yes max-neighbor-entries=8192
- /interface list member
- add comment=defconf interface=bridge list=LAN
- add comment=defconf interface=ether1 list=WAN
- /interface ovpn-server server
- set auth=sha1,md5
- /ip address
- add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
- add address=93.1.1.1 disabled=yes interface=FastWebWAN network=93.1.1.1
- /ip dhcp-client
- add add-default-route=no comment=defconf dhcp-options=FastWeb interface=FastWebWAN use-peer-ntp=no
- /ip dhcp-server network
- add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1,1.1.1.1 gateway=192.168.88.1
- /ip dns
- set allow-remote-requests=yes servers=1.1.1.1 use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes
- /ip dns static
- add address=192.168.88.1 comment=defconf name=router.lan type=A
- add address=1.1.1.1 name=cloudflare-dns.com type=A
- /ip firewall filter
- add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
- add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
- add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
- add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
- add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
- add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
- add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
- add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related disabled=yes hw-offload=yes
- add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
- add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
- add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
- /ip firewall nat
- add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface=FastWebWAN
- /ip ipsec profile
- set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5
- /ip route
- add disabled=no dst-address=0.0.0.0/0 gateway=FastWebWAN
- /ip service
- set telnet disabled=yes
- set ftp disabled=yes
- set www-ssl disabled=no
- set api disabled=yes
- set winbox disabled=yes
- set api-ssl disabled=yes
- /ip smb shares
- set [ find default=yes ] directory=/pub
- /routing bfd configuration
- add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
- /system clock
- set time-zone-name=Europe/Rome
- /system identity
- set name=[REMOVED]
- /system note
- set show-at-login=no
- /system ntp client
- set enabled=yes
- /system ntp client servers
- add address=time.cloudflare.com
- /system package update
- set channel=testing
- /system resource irq rps
- set sfp-sfpplus1 disabled=no
- /system scheduler
- add interval=3d name=Reboot policy=reboot start-date=2024-06-12 start-time=04:00:00
- /tool graphing interface
- add allow-address=192.168.88.0/24 interface=ether1
- /tool graphing resource
- add allow-address=192.168.88.0/24
- /tool mac-server
- set allowed-interface-list=LAN
- /tool mac-server mac-winbox
- set allowed-interface-list=LAN
Advertisement
Add Comment
Please, Sign In to add comment