/interface wireguard
add listen-port=13231 mtu=1420 name=mullvad
/ip pool
add name=dhcp_ether2 ranges=192.168.77.10-192.168.77.254
/ip dhcp-server
add address-pool=dhcp_ether2 interface=ether2 name=dhcp1
/routing table
add disabled=no fib name=to_mullvad
/interface bridge port
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wifi1
add bridge=bridge comment=defconf interface=wifi2
/interface wireguard peers
add allowed-address=0.0.0.0/0 endpoint-address=XXX.XX.XXX.XX endpoint-port=\
51820 interface=mullvad name=mullvad-fin public-key=\
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX="
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=10.66.48.239 interface=mullvad network=10.66.48.239
add address=192.168.77.1/24 interface=ether2 network=192.168.77.0
/ip dhcp-server network
add address=192.168.77.0/24 dns-server=192.168.77.1 gateway=192.168.77.1
/ip firewall address-list
add address=192.168.77.0/24 list=local-for-eth2
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=!local-for-eth2 \
in-interface=ether2 new-routing-mark=to_mullvad passthrough=yes
/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=mullvad out-interface=mullvad \
routing-mark=to_mullvad
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=mullvad routing-table=\
to_mullvad scope=30 suppress-hw-offload=no target-scope=10
Задача не очень сложная, чтобы целого сетевика нанимать, тем более я микротик купил как раз, чтобы получше разобраться в сетях.