# 2024-01-30 09:54:17 by RouterOS 7.14beta8
# software id = QV4X-GMBC
#
# model = RB2011UAS-2HnD
# serial number = 419E02B6B64C
/interface bridge
add dhcp-snooping=yes igmp-snooping=yes name=bridgeLan port-cost-mode=short
/interface ethernet
set [ find default-name=ether1 ] mac-address=2C:FD:A1:74:87:72 rx-flow-control=\
auto tx-flow-control=auto
/interface list
add name=ETHERNET
/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
add authentication-types=wpa2-psk mode=dynamic-keys name=wifi1 \
supplicant-identity=""
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no security-profile=\
wifi1 ssid=Free station-roaming=enabled
/iot lora servers
add address=eu.mikrotik.thethings.industries name=TTN-EU protocol=UDP
add address=us.mikrotik.thethings.industries name=TTN-US protocol=UDP
add address=eu1.cloud.thethings.industries name="TTS Cloud (eu1)" protocol=UDP
add address=nam1.cloud.thethings.industries name="TTS Cloud (nam1)" protocol=\
UDP
add address=au1.cloud.thethings.industries name="TTS Cloud (au1)" protocol=UDP
add address=eu1.cloud.thethings.network name="TTN V3 (eu1)" protocol=UDP
add address=nam1.cloud.thethings.network name="TTN V3 (nam1)" protocol=UDP
add address=au1.cloud.thethings.network name="TTN V3 (au1)" protocol=UDP
/ip pool
add name=dhcp_pool1 ranges=10.7.100.2-10.7.100.100
add name=dhcp_pool2 ranges=10.7.100.2-10.7.100.254
/ip dhcp-server
add add-arp=yes address-pool=dhcp_pool2 interface=bridgeLan lease-time=10m \
name=dhcp1
/ip smb smb-user
set [ find default=yes ] read-only=yes
/port
set 0 name=serial0
/ppp profile
add name=vpnprofile
/routing table
add disabled=no fib name=antiblock
add disabled=no fib name=toZK
/interface bridge port
add bridge=bridgeLan ingress-filtering=no interface=ether2 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether3 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether4 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether5 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether6 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether7 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether8 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether9 internal-path-cost=\
10 path-cost=10
add bridge=bridgeLan ingress-filtering=no interface=ether10 internal-path-cost=\
10 path-cost=10
/ip firewall connection tracking
set udp-timeout=10s
/ip neighbor discovery-settings
set discover-interface-list=none
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface ovpn-server server
set auth=sha1,md5
/ip address
add address=10.7.100.1/24 interface=bridgeLan network=10.7.100.0
add address=10.10.24.245/24 interface=ether1 network=10.10.24.0
/ip dhcp-client
add add-default-route=no interface=ether1 use-peer-dns=no use-peer-ntp=no
add add-default-route=no interface=wlan1 use-peer-dns=no use-peer-ntp=no
/ip dhcp-server lease
add address=10.7.100.254 client-id=1:2c:fd:a1:74:87:72 mac-address=\
2C:FD:A1:74:87:72 server=dhcp1
/ip dhcp-server network
add address=10.7.100.0/24 dns-server=10.7.100.1 gateway=\
10.7.100.1
/ip dns
set allow-remote-requests=yes servers="77.88.8.8,77.88.8.1,10.10.51.1,10.10.51.2\
,10.10.51.3,10.10.52.1,10.10.52.2,10.10.52.3"
/ip firewall address-list
add address=youtube.com list=antiblock
add address=vk.com list=antiblock
add address=ok.ru list=antiblock
add address=10.10.24.181 list=listZK
add address=10.4.102.6 list=listZK
add address=10.10.51.1 list=listZK
add address=10.10.51.2 list=listZK
add address=10.10.51.3 list=listZK
add address=10.10.52.1 list=listZK
add address=10.10.52.2 list=listZK
add address=10.10.52.3 list=listZK
add address=10.4.101.134 list=listZK
add address=id.vk.com list=antiblock
add address=static.vk.com list=antiblock
add address=api.vk.com list=antiblock
add address=login.vk.com list=antiblock
add address=st1-99.vk.com list=antiblock
add address=sun1-25.userapi.com list=antiblock
add address=queuev4.vk.com list=antiblock
add address=im.vk.com list=antiblock
add address=sun1-56.userapi.com list=antiblock
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=antiblock \
in-interface=bridgeLan new-routing-mark=antiblock passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat out-interface=wlan1
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.10.24.20 pref-src=\
"" routing-table=main scope=30 suppress-hw-offload=no target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=10.100.32.254 \
pref-src="" routing-table=antiblock scope=30 suppress-hw-offload=no \
target-scope=10
add disabled=no distance=1 dst-address=10.4.102.0/24 gateway=10.10.24.20 \
pref-src="" routing-table=main scope=30 suppress-hw-offload=no \
target-scope=10
add disabled=no dst-address=10.10.51.0/24 gateway=10.10.24.20 routing-table=\
main suppress-hw-offload=no
add disabled=no dst-address=10.10.52.0/24 gateway=10.10.24.20 routing-table=\
main suppress-hw-offload=no
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/lcd interface pages
set 0 interfaces=\
sfp1,ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10
/ppp secret
add name=vpnuser profile=vpnprofile
/routing bfd configuration
add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
/system clock
set time-zone-autodetect=no time-zone-name=Europe/Moscow
/system note
set show-at-login=no
Напрямую всё открывается.
Проблему так и не решил, только понял, что часть JavaScript не запускается при выходе через микротик