Wireguard VPN setup

Netwatch alone is fine. If the target address is reachable using tunnel, you have something trying to actively use it, so it forces router to contact peer.

Netmasks at both ends don’t necessarily have to match (but it’s usually good idea if they do), it can work even when they are different. Main point of netmask added to IP address is that it automatically creates route to given subnet. You can have .1/32, but then router would have no idea where to look for .2, etc. That could be fixed by adding a route manually, but that’s extra step, netmask for IP address is easier.

So in that case we would need to add addresses manually for each router we need our main router to reach in Route List ?

And i presume that it is also needed to add routes manually into other routers so they can know where to reach main router ?

So i setup Netwatch on main router and LTE routers. Main router says that both links are up, LTE1 says link is up, but LTE2 says link is down.

But this is weird, if i ping from LTE2 to the main router, so 192.168.25.1 to 192.168.1.1 it says timeout, but if i ping from the connected laptop i get reply…

So that i can understand better, you were trying to access the R1 that is behind the ISPs Router from your home using the ISPs Public IP ?

If you don’t use proper mask for IP address, and therefore you don’t get automatic routes, you need to add required routes manually. But unless you have some really good reason to do it this way, IP address with right mask is simple and correct way. So right now I’d stick with /29 on all routers.

Netwatch on LTE2 watching main router’s 10.255.255.1 should bring the tunnel up. I’m not re-reading the whole thread to find what you have now, but make sure that:

  • on main router, WG peer for LTE2 includes its 10.255.255.3/32 in allowed-address
  • on LTE2, WG peer for main router includes either 10.255.255.1/32 or 10.255.255.0/29 in allowed-address

You can also add logging rule, to see what Netwatch sends and where:

/ip firewall mangle
add chain=output dst-address=10.255.255.1 action=log

This is not rocket science.
To recap
FOR INITIAL CONNECTION - R1 is considered the server and R2, and R3 are clients
FOR TRAFFIC FLOWS - one way only as, R1 admin (lets say its 192.168.1.20) requires access to a device, on the remote network and to configure the remote router.
However looking at your firewall rules…
WHY ARE YOU GIVING R3 Subnet access to R1 Subnet?? I will assume this is an error in your config!!

The problem is looking at your diagram is whether or not your office, ISP router DSL, is reachable by you to forward ports. I will assume the answer is YES, as you noted DMZ previous, and thus we can stick with the plan for Initial Connection.


OFFICE ROUTER R1 CHANGES
/interface wireguard
add listen-port=30700 mtu=1420 name=wg1
public key=“xxx” { to be used on the remote MT Devices, R2 & R3, in their peer settings }
/interface detect-internet
set detect-interface-list=all { Please set this to none for all testing }
/interface wireguard peers
add allowed-address=192.168.1.20 { outbound flow, selected by R1 router to enter the tunnel & no inbound users! }
endpoint-address:port=n/a
interface=wg1
public-key=“yyy” { from R2 }


add allowed-address=192.168.1.20 { outbound flow, selected by R1 router to enter the tunnel and no inbound users! }
endpoint-address=n/a
interface=wg1
public-key=“zzz” { from R3 }

/ip address { no IP address required for R1 or R2 users because there is no single user traffic or whole subnet for that matter, coming from R1/R2 }
/ip firewall filter
add action=accept chain=input comment=“allow l2tp” dst-port=1701
ipsec-policy=in,ipsec protocol=udp

add action=accept chain=input comment=Wireguard dst-port=30700 protocol=udp { moved up in order to be with other vpn INPUT chain rules }
add action=accept chain=input comment=“allow pptp” disabled=yes dst-port=1723
protocol=tcp

add action=accept chain=forward comment=
“Wireguard FWD GRAWE_VDC_HEINZELOVA → URED” dst-address=192.168.1.0/24 \ { remove - in error }
src-address=192.168.25.0/24
add action=accept chain=forward comment=
“Wireguard FWD URED → GRAWE_VDC_HEINZELOVA” dst-address=192.168.25.0/24 \ { remove - in error }
src-address=192.168.1.0/24
add action=accept chain=forward comment=“Wireguard FWD FIDENS_LTE - > URED” \ { remove - in error }
dst-address=192.168.1.0/24 src-address=192.168.20.0/24
add action=accept chain=forward comment=“Wireguard FWD URED → FIDENS_LTE” \ { remove - in error }
dst-address=192.168.20.0/24 src-address=192.168.1.0/24
/ip route
add dst-address=192.168.25.0/24 gateway=wg1 table=main { will direct 192.168.1.20 to access R2 through wg1 }
add dst-address=192.168.20.0/24 gateway=wg1 table=main ( will direct 192.168.1.20 to access R3 through wg1 }
/ip upnp
set enabled=yes DONT why do you need this ???
/tool mac-server
set allowed-interface-list=LAN Should be set to none!
/tool mac-server mac-winbox
set allowed-interface-list=LAN

RECOMMEND REDO FIREWALL RULES, they are out of order and not conducive to a clean set of rules.

REMOTE SITE R3 CHANGES
/interface wireguard
add listen-port=3700 mtu=1420 name=wg1 { listen port not required but it may be used to derive public key? cannot remember if true }
public key=“zzz” { To give to R1 }
/ip pool
add name=dhcp ranges=192.168.25.244-192.168.25.254 { In error, MODIFY, according to your diagram R3 contains 192.168.20.0/24 }
add name=dhcp ranges=192.168.20.244-192.168.20.254
add name=vpn ranges=192.168.89.2-192.168.89.255
/interface wireguard peers
add allowed-address=192.168.1.20/32 { we filter for incoming IP address from admin, not the entire subnet !! }
endpoint-address=R1-mynetname.net { from R1 }
endpoint-port=30700 interface=wg1
public-key="xxx"
/ip address { no IP address required for wg interface }
add address=192.168.20.1/24 comment=defconf interface=bridge network=\ { changed to reflect proper subnet .20 }
192.168.20.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=192.168.20.0/24 gateway=192.168.20.1 netmask=24 { fixed }
/ip firewall filter
add action=accept chain=input comment=Wireguard dst-port=30700 protocol=udp { Remove not required }
add action=accept chain=forward comment=“fwd wireguard” in-interface=wg1 dst-address=
192.168.20.0/24 src-address=192.168.1.20/32 { fixed IPs, addition of in-interface=wg1 is optional }
add action=accept chain=forward comment=“fwd wireguard” dst-address=\ { remove, not required }
192.168.1.0/24 src-address=192.168.25.0/24
add action=accept chain=input comment=WinBox dst-port=8291 protocol=tcp
src-address=192.168.1.20/32 in-interface=wg1 { optional addition }
/ip route
add dst-address=192.168.1.0/24 gateway=wg1
/ip upnp
set enabled=yes { WHY same comment as previous }
/tool mac-server
set allowed-interface-list=LAN { Set to NONE }
/tool mac-server mac-winbox
set allowed-interface-list=LAN

ROUTER R1 FW RULES CLEANED UP. ( I removed disabled rules )

/ip firewall filter
add action=accept chain=input connection-state=established,related,untracked
add action=drop chain=input connection-state=invalid
add action=accept chain=input protocol=icmp
add action=accept chain=input comment="allow ipsec-esp" protocol=ipsec-esp
add action=accept chain=input comment="allow IPsec NAT" dst-port=4500 \
    protocol=udp
add action=accept chain=input comment="allow IKE" dst-port=500 protocol=udp
add action=accept chain=input comment="allow l2tp" dst-port=1701 \
 ipsec-policy=in,ipsec protocol=udp
add action=accept chain=input comment=Wireguard dst-port=30700 protocol=udp
add action=accept chain=input comment="allow LAN access" in-interface-list=LAN
add action=drop  chain=input comment="drop all else"
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  \
    connection-state=established,related hw-offload=yes
add action=accept chain=forward connection-state=established,related,untracked
add action=drop chain=forward connection-state=invalid
add action=accept chain=forward in-interface-list=LAN out-interface-list=WAN
add action=accept chain=forward comment="allow port forwarding" connection-nat-state=dstnat
add action=drop chain=forward comment="drop all else"

Sorry for not responding so fast, I caught some kind of cold… So I was in bed all day… waiting for COVID test

So right now everything is working, I just saw your post with recommended changes so i didn’t do any of them right now, one of the router is on location right now and the other will be deployed in about 2 days.

I believe that is not rocket science, I’m really sorry if my “beginner knowledge” grinds your gears. I see that you removed some of the configuration that was added when I was following tutorial, actually, quite a lot of original configuration is removed. As I can see, you removed 10.255.255.x addresses ? For one of the WG interfaces you wrote that it doesn’t need address and I can see there is no some of the firewall rules from the tutorial ?

I will post config of all routers tomorrow because i think we got lost in all the informations.

As for uPnP, we have devices (i can’t really give more information due to sensitive nature of the system) that won’t work if uPnP is not enabled. Heck, we even had problems with carriers… only one carrier works, other ones no…

I found EVE NG, maybe that is not a bad solution for learning networking…

Sorry the comment was not directed at you but at others that seemed to be making the config more complex than necessary. Again my apologies.
Probably covid, it hits diff people in different ways, some full of phlegm and hard to breathe other headaches backaches etc…
Should be over in 5 days.

By all means if you are happy with the setup and its working for you, ignore my suggestions. Best to have a working config rather than a mess of two!!
Got it your stuck with UPNP due to ‘being forced’ to use less than stellar devices stuck in the middle ages.

Nothing wrong with UPnP … I and many of my clients use it … and have been doing that for many Years … many many years … The only people afraid of UPnP are those that do ot know how to exploit it and more importantly implement it properly with effective firewall controls …

The only people stuck in the middle ages are those that are tied to Lamas and elephants :laughing:

Thanks Mozerd, for the refresher. What special considerations for security should be taken, that are not already dealt with in standard firewall rules etc..
(note my experience is older games that require UPNP for example)

Problem with UPnP is lacking security. But it’s simple tool for trusted networks, and if you use it as such, it’s fine. In the past it was made even worse by bad implementations, where some routers supposedly allowed access even from internet, so anyone could forward ports as they pleased, to any destination. That’s where the “never ever enable the evil UPnP” recommendation comes from. But it’s not that bad. And you do need something like UPnP. Even with IPv6, where you ideally don’t have NAT, but will usually have firewall blocking incoming connections, sometimes you will need a way to automatically allow something (there’s Port Control Protocol, but implementation doesn’t seem to be going very fast).

Many moons ago @Sob provided me with some important info related to MikroTik and UPnP …. Following is the thread
http://forum.mikrotik.com/t/upnp-does-not-work-for-me/117139/1
Enjoy !

Nice!
So as expected you need to ensure the devices have access to the ROUTER SERVICE (be it dns, ntp etc.) and this time for UPNP.
/ip firewall filter add action=accept chain=input comment=“INPUT Allow UPnP port 1900 udp” dst-port=1900 log-prefix=UPnP protocol=udp src-address-list=UPnPdevices
/ip firewall filter add action=accept chain=input comment=“INPUT Allow UPnP port 2828 tcp” dst-port=2828 log-prefix=UPnP protocol=tcp src-address-list=UPnPdevices

My question is, did you use UPNP so that devices could talk to what where?? (use cases being solved)

NAS?
Apple Time Capsule?
Xbox?

@anav
There is no need to apologize, and it would be foolish of me to ignore your advices after all the help you provided. And if there is better and more efficient way of configuring this than Mikrotik’s tutorial that is fine with me. Just like electronics… You can make circuit 100 different ways and it will work, but only few are correct ones, and efficient.

I hope you get better soon :smiley:

So this is config at the moment, i didn’t make any changes to firewall rules yet as I don’t want to loose connection.

I presume that I have to remove from R1 this:

add action=accept chain=forward comment=\
    "Wireguard FWD GRAWE_VDC_HEINZELOVA -> URED" dst-address=192.168.1.0/24 \
    src-address=192.168.25.0/24
add action=accept chain=forward comment=\
    "Wireguard FWD URED -> GRAWE_VDC_HEINZELOVA" dst-address=192.168.25.0/24 \
    src-address=192.168.1.0/24
add action=accept chain=forward comment="Wireguard FWD FIDENS_LTE - > URED" \
    dst-address=192.168.1.0/24 src-address=192.168.20.0/24
add action=accept chain=forward comment="Wireguard FWD URED -> FIDENS_LTE" \
    dst-address=192.168.20.0/24 src-address=192.168.1.0/24

From R2 this:

add action=accept chain=forward comment=\
    "Wireguard FWD DECATHLON_VDC_ZADAR -> URED" dst-address=192.168.1.0/24 \
    src-address=192.168.25.0/24
add action=accept chain=forward comment=\
    "Wireguard FWD URED -> DECATHLON_VDC_ZADAR" dst-address=192.168.25.0/24 \
    src-address=192.168.1.0/24

And from R3 this:

add action=accept chain=forward comment="Wireguard FWD LTE -> Ured" \
    dst-address=192.168.1.0/24 src-address=192.168.20.0/24
add action=accept chain=forward comment="Wireguard Ured -> LTE" dst-address=\
    192.168.20.0/24 src-address=192.168.1.0/24

If that is the case, why it’s added in tutorial ?

R1 - 192.168.1.0/24 - Office router

# jan/26/2022 06:36:59 by RouterOS 7.1.1
# software id = CD7M-66CD
#
# model = RB952Ui-5ac2nD
# serial number = **********
/interface bridge
add admin-mac=**:**:**:**:**:** auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n country=croatia disabled=no \
    distance=indoors frequency=2472 installation=indoor mode=ap-bridge ssid=\
    "Fidens 2.4G" wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
    20/40/80mhz-XXXX country=croatia disabled=no distance=indoors frequency=\
    auto installation=indoor mode=ap-bridge ssid="Fidens 5G" \
    wireless-protocol=802.11
/interface wireguard
add listen-port=30700 mtu=1420 name=wg1
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
    dynamic-keys supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.1.1-192.168.1.254
add name=vpn ranges=192.168.89.2-192.168.89.255
/ip dhcp-server
add address-pool=dhcp interface=bridge name=defconf
/ppp profile
add local-address=192.168.89.1 name=VPN_Ured remote-address=vpn
set *FFFFFFFE local-address=192.168.89.1 remote-address=vpn
/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether2
add bridge=bridge comment=defconf ingress-filtering=no interface=ether3
add comment=defconf ingress-filtering=no interface=ether4
add bridge=bridge comment=defconf ingress-filtering=no interface=ether5
add bridge=bridge comment=defconf ingress-filtering=no interface=wlan1
add bridge=bridge comment=defconf ingress-filtering=no interface=wlan2
/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 detect-internet
set detect-interface-list=all
/interface l2tp-server server
set authentication=mschap2 default-profile=VPN_Ured enabled=yes use-ipsec=\
    required
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface sstp-server server
set default-profile=default-encryption
/interface wireguard peers
add allowed-address=192.168.25.0/24,10.255.255.2/29 comment=\
    GRAWE_VDC_HEINZELOVA endpoint-address=**********.sn.mynetname.net \
    endpoint-port=30700 interface=wg1 persistent-keepalive=30s public-key=\
    "********************************************"
add allowed-address=192.168.20.0/24,10.255.255.3/29 comment=FIDENS_LTE \
    endpoint-address=**********.sn.mynetname.net endpoint-port=30700 \
    interface=wg1 persistent-keepalive=30s public-key=\
    "********************************************"
/ip address
add address=192.168.1.1/24 comment=defconf interface=bridge network=\
    192.168.1.0
add address=10.255.255.1/29 comment=VPN interface=wg1 network=10.255.255.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=15m
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf gateway=192.168.1.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.1.1 comment=defconf name=router.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=30700 protocol=udp
add action=accept chain=forward comment=\
    "Wireguard FWD GRAWE_VDC_HEINZELOVA -> URED" dst-address=192.168.1.0/24 \
    src-address=192.168.25.0/24
add action=accept chain=forward comment=\
    "Wireguard FWD URED -> GRAWE_VDC_HEINZELOVA" dst-address=192.168.25.0/24 \
    src-address=192.168.1.0/24
add action=accept chain=forward comment="Wireguard FWD FIDENS_LTE - > URED" \
    dst-address=192.168.1.0/24 src-address=192.168.20.0/24
add action=accept chain=forward comment="Wireguard FWD URED -> FIDENS_LTE" \
    dst-address=192.168.20.0/24 src-address=192.168.1.0/24
add action=accept chain=input comment="allow IPsec NAT" dst-port=4500 \
    protocol=udp
add action=accept chain=input comment="allow IKE" dst-port=500 protocol=udp
add action=accept chain=input comment="allow l2tp" dst-port=1701 \
    ipsec-policy=in,ipsec protocol=udp
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=accept chain=input comment="allow ipsec-esp" protocol=ipsec-esp
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=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
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-list=WAN
add action=dst-nat chain=dstnat comment="Port 21 za FTP server" dst-address=\
    192.168.10.8 dst-port=21 in-interface=ether1 protocol=tcp to-addresses=\
    192.168.1.39 to-ports=21
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=\
    192.168.89.0/24
add action=dst-nat chain=dstnat disabled=yes dst-address=192.168.10.8 \
    dst-port=4500 in-interface=ether1 protocol=udp to-addresses=192.168.1.6 \
    to-ports=4500
/ip firewall service-port
set udplite ports=500
/ip route
add dst-address=192.168.25.0/24 gateway=wg1
add dst-address=192.168.20.0/24 gateway=wg1
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=ether1 type=external
/ppp secret
add name="**********" profile=VPN_Ured service=l2tp
/system clock
set time-zone-name=Europe/Zagreb
/system ntp client
set enabled=yes
/system ntp client servers
add address=161.53.128.17
add address=45.87.77.15
/tool mac-server
set allowed-interface-list=none
/tool mac-server mac-winbox
set allowed-interface-list=none
/tool netwatch
add comment=DECATHLON_VDC_ZADAR host=192.168.20.1 interval=5m
add comment=GRAWE_VDC_HENZELOVA host=192.168.25.1 interval=5m

R2 - 192.168.25.0/24 - LTE1

# jan/26/2022 06:39:09 by RouterOS 7.1.1
# software id = J61H-4XD4
#
# model = RBwAPR-2nD
# serial number = **********
/interface bridge
add admin-mac=**:**:**:**:**:** auto-mac=no comment=defconf name=bridge
/interface lte
set [ find ] allow-roaming=no band="" name=lte1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
    distance=indoors frequency=auto installation=outdoor mode=ap-bridge ssid=\
    MikroTik-7FCF0A wireless-protocol=802.11
/interface wireguard
add listen-port=30700 mtu=1420 name=wg1
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface lte apn
set [ find default=yes ] apn=******************** ip-type=ipv4 name=Telemach
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.25.244-192.168.25.254
add name=vpn ranges=192.168.89.2-192.168.89.255
/ip dhcp-server
add address-pool=dhcp interface=bridge name=defconf
/ppp profile
set *FFFFFFFE local-address=192.168.89.1 remote-address=vpn
/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether1
add bridge=bridge comment=defconf ingress-filtering=no interface=wlan1
/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 l2tp-server server
set use-ipsec=yes
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=lte1 list=WAN
/interface sstp-server server
set default-profile=default-encryption
/interface wireguard peers
add allowed-address=192.168.1.0/24,10.255.255.1/29 endpoint-address=\
    ************.sn.mynetname.net endpoint-port=30700 interface=wg1 \
    persistent-keepalive=30s public-key=\
    "********************************************"
/ip address
add address=192.168.25.1/24 comment=defconf interface=bridge network=\
    192.168.25.0
add address=10.255.255.2/29 comment=VPN interface=wg1 network=10.255.255.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=192.168.25.0/24 gateway=192.168.25.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.25.1 comment=defconf name=router.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=30700 protocol=udp
add action=accept chain=forward comment=\
    "Wireguard FWD DECATHLON_VDC_ZADAR -> URED" dst-address=192.168.1.0/24 \
    src-address=192.168.25.0/24
add action=accept chain=forward comment=\
    "Wireguard FWD URED -> DECATHLON_VDC_ZADAR" dst-address=192.168.25.0/24 \
    src-address=192.168.1.0/24
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=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=accept chain=input comment=WinBox dst-port=8291 in-interface=wg1 \
    protocol=tcp src-address=192.168.1.20
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes
add action=drop chain=forward comment="defconf: drop invalid" \
    connection-state=invalid
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
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-list=WAN
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=\
    192.168.89.0/24
/ip route
add dst-address=192.168.1.0/24 gateway=wg1
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=lte1 type=external
/ppp secret
add name=vpn
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name=GRAWE_VDC_HEINZELOVA
/system leds
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led1 type=modem-signal
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led2 modem-signal-threshold=-71 type=modem-signal
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led3 modem-signal-threshold=-51 type=modem-signal
/tool mac-server
set allowed-interface-list=none
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool netwatch
add comment=RUTER_URED host=192.168.1.1

R3 - 192.168.20.0/24 - LTE 3

# jan/26/2022 06:38:20 by RouterOS 7.1.1
# software id = P3N3-9GCJ
#
# model = RBwAPR-2nD
# serial number = **********
/interface bridge
add admin-mac=**:**:**:**:**:** auto-mac=no comment=defconf name=bridge
/interface lte
set [ find ] allow-roaming=no band="" name=lte1
/interface wireguard
add listen-port=30700 mtu=1420 name=wg1
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface lte apn
set [ find default=yes ] apn=***************** name=Telemach \
    use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=\
    tkip,aes-ccm mode=dynamic-keys name=WPA/WPA2 supplicant-identity="" \
    unicast-ciphers=tkip,aes-ccm
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n country=croatia disabled=no \
    distance=indoors frequency=auto mode=ap-bridge security-profile=WPA/WPA2 \
    ssid=Fidens_Hotspot wireless-protocol=802.11 wps-mode=disabled
/ip pool
add name=dhcp ranges=192.168.20.248-192.168.20.254
/ip dhcp-server
add address-pool=dhcp interface=bridge lease-time=1d name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=wlan1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=lte1 list=WAN
/interface wireguard peers
add allowed-address=192.168.1.0/24,10.255.255.1/32 endpoint-address=\
    **********.sn.mynetname.net endpoint-port=30700 interface=wg1 \
    persistent-keepalive=30s public-key=\
    "********************************************"
/ip address
add address=192.168.20.1/24 comment=defconf interface=bridge network=\
    192.168.20.0
add address=10.255.255.3/29 comment=VPN interface=wg1 network=10.255.255.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=192.168.20.0/24 comment=defconf dns-server=192.168.20.1 gateway=\
    192.168.20.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.20.1 comment=defconf name=router.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=30700 protocol=udp
add action=accept chain=forward comment="Wireguard FWD LTE -> Ured" \
    dst-address=192.168.1.0/24 src-address=192.168.20.0/24
add action=accept chain=forward comment="Wireguard Ured -> LTE" dst-address=\
    192.168.20.0/24 src-address=192.168.1.0/24
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=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=accept chain=input comment="Winbox " dst-port=8291 protocol=tcp \
    src-address=192.168.1.20
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes
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=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
/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.1.0/24 gateway=wg1
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=lte1 type=external
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name=DECATHLON_VDC_ZADAR
/system leds
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led1 type=modem-signal
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led2 modem-signal-threshold=-71 type=modem-signal
# using RSRP, modem-signal-threshold ignored
add interface=lte1 leds=led3 modem-signal-threshold=-51 type=modem-signal

xBox = multiplayer gaming and chat over the internet
ATC = remote access for streaming and file access include iTunes Library [client/server]
NAS = remote access for streaming and file access include iTunes Library [client/server]

Also the majority of IoT devices are UPnP enabled like my security cameras etc. etc etc.

Yea I can confirm that, almost, if not all of vendors have UPnP enabled devices, especially if they provide cloud based storage and mobile apps. And some vendors although they have UPnP (Bosch for example), that UPnP is not working as it should (Bosch for example) so you have to manually open about 3 or 4 ports on the router for cloud services to work.

Heck even my thermostat for central heating and floor heating is online…