Ok thank you already so much for taking the effort for helping me.
Below my latest configurations: (cleaned the export a bit and took into account remarks from the previous comment)
Site A:
# 2024-11-23 14:55:16 by RouterOS 7.16.1
# software id = SDHK-0LAC
#
# model = RB4011iGS+
# serial number = ***
/interface bridge
add admin-mac=*** auto-mac=no comment=defconf name=bridge \
port-cost-mode=short
/interface ethernet
set [ find default-name=ether10 ] poe-out=off
/interface wireguard
add comment=wireguard-site-b listen-port=13231 mtu=1420 name=\
wireguard-site-b
add listen-port=13232 mtu=1420 name=wireguard-vpn
/interface vlan
add comment=site-a-guest interface=bridge name=site-a-guest vlan-id=89
add comment=edpnet interface=ether1 name=vlan10 vlan-id=10
/caps-man datapath
add bridge=bridge client-to-client-forwarding=yes local-forwarding=yes name=\
datapath1
/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 channels
add band=2ghz-b/g/n frequency=2412 list=test name=ch1 width=20
add band=2ghz-b/g/n frequency=2437 list=test name=ch6 width=20
add band=2ghz-b/g/n frequency=2462 list=test name=ch11 width=20
add band=5ghz-a/n/ac frequency=5250 list=test name=ch50 width=40
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=MikroTik
/ip smb users
set [ find default=yes ] disabled=yes
/port
set 0 name=serial0
set 1 name=serial1
/ppp profile
set *0 bridge=bridge dns-server=192.168.88.100,192.168.88.1 local-address=\
192.168.90.1 remote-address=ike2-pool use-encryption=yes
add comment=edpnet name=edpnet
/interface pppoe-client
add add-default-route=yes comment=edpnet disabled=no interface=vlan10 name=\
pppoe-wan profile=edpnet user=***
/routing bgp template
set default disabled=no output.network=bgp-networks
/routing ospf instance
add disabled=no name=default-v2
/routing ospf area
add disabled=yes instance=default-v2 name=backbone-v2
/routing table
add comment="Via Site B" disabled=no fib name=via-site-b
/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 \
internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether4 \
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=all
/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=pppoe-wan list=WAN
add interface=wireguard-vpn list=LAN
add interface=wireguard-site-b list=LAN
/interface ovpn-server server
set auth=sha1,md5 certificate=*10
/interface wireguard peers
add allowed-address="192.168.33.0/24,192.168.35.0/24,10.255.255.0/24,192.168.8\
8.0/24,192.168.90.0/24" comment=wireguard-site-b endpoint-address=\
public IP site B endpoint-port=13231 interface=wireguard-site-b name=\
peer1 persistent-keepalive=30s preshared-key=\
"***" public-key=\
"***"
add allowed-address=192.168.90.2/32 comment=road-warior-site-a interface=\
wireguard-vpn name=peer2 preshared-key=\
"***" public-key=\
"***"
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=10.255.255.1/30 interface=wireguard-site-b network=\
10.255.255.0
add address=192.168.89.1/24 comment=site-a-guest interface=site-a-guest network=\
192.168.89.0
add address=192.168.90.1/24 comment=site-a-vpn interface=wireguard-vpn network=\
192.168.90.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=5m
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=\
192.168.88.104,192.168.88.1 gateway=192.168.88.1
add address=192.168.89.0/24 comment=site-a-guest dns-server=8.8.8.8,8.8.4.4 \
gateway=192.168.89.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1
/ip firewall address-list
add address=192.168.88.0/24 list=secure-lan
add address=192.168.90.0/24 list=secure-lan
add address=192.168.33.0/24 list=secure-lan
add address=192.168.35.0/24 list=secure-lan
add address=10.255.255.0/24 list=secure-lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=accept chain=input comment=wireguard dst-port=13231 protocol=udp \
src-address=192.168.33.1
add action=accept chain=forward comment=wireguard dst-address-list=secure-lan \
src-address-list=secure-lan
add action=accept chain=forward comment=wireguard dst-address-list=secure-lan
add action=accept chain=input comment=wireguard-vpn src-address=\
192.168.90.0/24
add action=accept chain=input comment=wireguard-vpn dst-port=13232 protocol=\
udp
add action=accept chain=input disabled=yes in-interface-list=WAN protocol=\
ipsec-esp
add action=accept chain=input disabled=yes in-interface-list=WAN protocol=\
ipsec-ah
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="Allow all trusted networks" \
src-address-list=secure-lan
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 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
add action=drop chain=forward comment=site-a-guest dst-address=192.168.89.0/24 \
src-address=192.168.0.0/16
add action=drop chain=forward comment=site-a-guest dst-address=192.168.0.0/16 \
src-address=192.168.89.0/24
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/ip route
add dst-address=192.168.33.0/24 gateway=wireguard-site-b
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
wireguard-site-b routing-table=via-site-b suppress-hw-offload=\
no
add disabled=no distance=1 dst-address=192.168.88.0/24 gateway=bridge \
routing-table=via-site-b suppress-hw-offload=no
/ip service
set www address=192.168.88.0/24
set www-ssl address=\
192.168.88.0/24,192.168.33.0/24,192.168.90.0/24,192.168.35.0/24 \
certificate=letsencrypt-cert-2024-11-02-16:44:45 disabled=no tls-version=\
only-1.2
set api disabled=yes
set api-ssl address=192.168.88.100/32,192.168.88.253/32,192.168.88.102/32 \
certificate=letsencrypt-cert-2024-11-02-16:44:45 tls-version=only-1.2
/ip smb shares
set [ find default=yes ] directory=/pub
/routing rule
add action=lookup comment="Force Site B" disabled=no src-address=\
192.168.88.231 table=via-site-b
/system clock
set time-zone-name=Europe/Brussels
/system identity
set name="MikroTik Site A"
/system logging
add action=echo topics=ipsec,l2tp,!packet
/system note
set show-at-login=no
/system resource irq rps
set sfp-sfpplus1 disabled=no
/system routerboard settings
# Firmware upgraded successfully, please reboot for changes to take effect!
set auto-upgrade=yes
/tool graphing interface
add
/tool graphing queue
add
/tool graphing resource
add
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool sniffer
set filter-interface=wireguard-vpn
Site B:
# 2024-11-23 14:56:07 by RouterOS 7.15
# software id = K7VY-RVUN
#
# model = RB5009UG+S+
# serial number = ***
/interface bridge
add admin-mac=*** auto-mac=no comment=defconf name=bridge \
port-cost-mode=short
/interface wireguard
add comment=wireguard listen-port=13231 mtu=1420 name=wireguard
add listen-port=13232 mtu=1420 name=wireguard-vpn
/interface vlan
add comment=site-b-Guest interface=bridge name=site-b-guest vlan-id=101
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.33.110-192.168.33.254
add comment=site-b-Guest name=site-b-guest ranges=192.168.34.100-192.168.34.254
/ip dhcp-server
add address-pool=dhcp interface=bridge lease-time=10m name=defconf
add address-pool=site-b-guest comment=site-b-Guest interface=site-b-guest lease-time=\
10m name=site-b-guest
/ip smb users
set [ find default=yes ] disabled=yes
/ppp profile
set *0 bridge=bridge dns-server=192.168.33.100,192.168.33.1 local-address=\
192.168.35.1 remote-address=l2tp-pool use-encryption=yes
/routing ospf instance
add disabled=no name=default-v2
/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 \
internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether4 \
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=sfp-sfpplus1 \
internal-path-cost=10 path-cost=10
add bridge=bridge disabled=yes interface=ether1
/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 bridge vlan
add bridge=bridge vlan-ids=1-4094
/interface l2tp-server server
set authentication=mschap2 default-profile=default enabled=yes use-ipsec=\
required
/interface list member
add comment=defconf interface=ether1 list=WAN
add interface=wireguard list=LAN
add interface=bridge list=LAN
add interface=wireguard-vpn list=LAN
/interface ovpn-server server
set auth=sha1,md5
/interface wireguard peers
add allowed-address="192.168.88.0/24,192.168.90.0/24,10.255.255.0/24,192.168.3\
3.0/24,192.168.35.0/24" comment=wireguard endpoint-address=\
213.219.163.102 endpoint-port=13231 interface=wireguard name=peer7 \
persistent-keepalive=30s preshared-key=\
"***" public-key=\
"***"
add allowed-address=192.168.35.2/32 comment=road-warior interface=\
wireguard-vpn name=peer8 preshared-key=\
"***" public-key=\
"***"
/ip address
add address=192.168.33.1/24 comment=defconf interface=bridge network=\
192.168.33.0
add address=10.255.255.2/30 comment=wireguard interface=wireguard network=\
10.255.255.0
add address=192.168.34.1/24 comment=site-b-Guest interface=site-b-guest network=\
192.168.34.0
add address=192.168.35.1/24 comment=site-b-vpn interface=wireguard-vpn network=\
192.168.35.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=5m
/ip dhcp-client
add comment=defconf interface=bridge
add interface=ether1 use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.33.0/24 comment=defconf dns-server=\
192.168.33.104,192.168.33.1 gateway=192.168.33.1 netmask=24
add address=192.168.34.0/24 comment=site-b-Guest dns-server=8.8.8.8,8.8.4.4 \
gateway=192.168.34.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1
/ip firewall address-list
add address=192.168.88.0/24 list=lan-secure
add address=192.168.90.0/24 list=lan-secure
add address=192.168.33.0/24 list=lan-secure
add address=192.168.35.0/24 list=lan-secure
add address=10.255.255.0/24 list=lan-secure
/ip firewall filter
add action=accept chain=forward disabled=yes dst-port=53 protocol=udp \
src-address=192.168.33.0/24
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=accept chain=input comment=wireguard dst-port=13231 protocol=udp \
src-address=192.168.88.1
add action=accept chain=forward comment=wireguard dst-address-list=\
lan-secure src-address-list=lan-secure
add action=accept chain=forward comment=wireguard dst-address-list=\
lan-secure
add action=accept chain=input comment=wireguard-vpn src-address=\
192.168.35.0/24
add action=accept chain=input comment=wireguard-vpn dst-port=13232 protocol=\
udp
add action=accept chain=input comment="Allow L2TP / IPSec VPN access" \
disabled=yes dst-port=500,1701,4500 in-interface-list=WAN protocol=udp
add action=accept chain=input disabled=yes in-interface-list=WAN protocol=\
ipsec-esp
add action=accept chain=input disabled=yes in-interface-list=WAN protocol=\
ipsec-ah
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=accept chain=input comment="Allow all trusted networks" \
src-address-list=lan-secure
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN log=yes log-prefix="DROP NOT 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 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
add action=drop chain=forward comment=site-b-Guest dst-address=192.168.34.0/24 \
log-prefix=site-b-GUEST src-address=192.168.0.0/16
add action=drop chain=forward comment=site-b-Guest dst-address=192.168.0.0/16 \
src-address=192.168.34.0/24
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat comment="Force internal DNS" disabled=yes \
dst-port=53 in-interface-list=LAN protocol=udp to-addresses=\
192.168.33.100 to-ports=53
add action=dst-nat chain=dstnat comment="Force internal DNS" disabled=yes \
dst-port=53 in-interface-list=LAN protocol=tcp to-addresses=\
192.168.33.100 to-ports=53
/ip ipsec identity
add generate-policy=port-override peer=vpn
/ip ipsec policy
set 0 dst-address=0.0.0.0/0 src-address=0.0.0.0/0
/ip route
add comment=wireguard disabled=no distance=1 dst-address=192.168.88.0/24 \
gateway=wireguard pref-src="" routing-table=main suppress-hw-offload=no
/ip service
set www address=192.168.88.0/24,192.168.33.0/24
set www-ssl address=\
192.168.88.0/24,192.168.33.0/24,192.168.90.0/24,192.168.35.0/24 \
certificate=letsencrypt-cert-2024-11-02-16:43:57 disabled=no tls-version=\
only-1.2
set api disabled=yes
set api-ssl address=192.168.33.100/32,192.168.88.253/32 certificate=\
letsencrypt-cert-2024-11-02-16:43:57 tls-version=only-1.2
/ip smb shares
set [ find default=yes ] directory=/pub
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
/ipv6 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 ICMPv6" protocol=\
icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=input comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
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 packets with bad src ipv6" src-address-list=bad_ipv6
add action=drop chain=forward comment=\
"defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=forward comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
/ppp secret
add name=vpn service=l2tp
/system clock
set time-zone-name=Europe/Brussels
/system identity
set name="MikroTik Site B"
/system note
set show-at-login=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
So both sides of the site-to-site wireguard tunnel have responder false. According to the documentation both routers will repeatedly try to connect “endpoint-address” or “current-endpoint-address” with this setting.
I also added all the subnets I’m using in the allowed ranges of the wireguard peers now.
But still no success. When on site a the force site B routing rule is enabled
192.168.88.231 is able to retrieve responses from 192.168.33.0/24 but not from the public internet.
I indeed don’t know why I did this. I changed it to 24 now. On both sides I also have a few road warrior VPN clients via wireguard. Once I connect to one of those I also don’t have access to the subnet on the other side. (E.g. from 192.168.90.0/24 I can’t reach 192.168.33.0/24)