correct.
So I don't know the exact process to run this script but the WG config is very simple in fact.
MY problem
It should not work as it is right now or you could miss lead me cuz I have no info about the VDS peer.
Let's say you have a VDS one public IP 2.2.2.2
you have WG with a network of 10.0.6.1/? as the address for the WG interface
then you have an MT peer with an IP of 10.0.6.4/?
you are saying the subnet mask for the VDS WG interface network is 255.255.255.255 so it's a /32 CIDR, this means that it only has one valid IP now how can it connect to anything other than itself?
add address=10.6.0.4/32 comment="WG VPN" interface="VIA WG" network=10.6.0.4
should be
add address=10.6.0.4/24 comment="WG VPN" interface="VIA WG" network=10.6.0.0
this network should change on both sides of the tunnel.
MY config.
WG.png
Remove the first line.
/routing rule
add action=lookup-only-in-table disabled=no src-address=10.0.0.46/32 table=via-wg
add action=lookup-only-in-table disabled=no dst-address=10.6.0.0/24 src-address=10.6.0.0/24 table=main
add action=lookup-only-in-table disabled=no dst-address=10.6.0.0/24 src-address=0.0.0.0/0 table=via-wg
This will not affect the WG but still. ( Cloudflare has a limited DNS query so as you already have a DOH let the local MT DNS server be the DNS for your DHCP )
/ip dhcp-server network
add address=10.0.0.0/24 dns-server=1.1.1.1 gateway=10.0.0.1
However, do you have fast-track enabled?
You do not have the required permissions to view the files attached to this post.