Yea, I suspected this might happen. without knowing the extents of your system I was kind of hoping the sparse routing information in table 121 would be enough to serve your system. obviously not. had no idea you were running unbound.
if you try to add this rule in wgm:
Code:
E:Option ==> peer wg11 rule add wan dst=192.168.1.1/16 comment ToLocalUseMain
E:Option ==> restart wg11
this would redirect any communication to your local clients (192.168.x.y) (like DNS replies back to the client) to the main routing table were routing information exists. if you are running more subnets (like wg server or similar these will need to be added as well, but we could worry about this later). this rule will have a higher priority so it will match local destination before our rule redirects it to table 121.
the plan is to end up with local packages for external communication only should be sent to table 121 (VPN) and nothing else.
then as wg11 is up and running, try issue:
Code:
ip rule add iif lo table 121 prio 32000
the "ip rule" will only be temporary and easily deletable by "ip rule del prio 32000" or a reboot. if you find this satisfactory we could make it stick by adding it to wg-up.sh (wgm custom scripts).
if not, it will get a whole lot more complicated and you will end up needing to handle both the tables and rules manually which might make you think about how bad you really need this and if it is worth it. but I will help you set it up if you want.
//Zeb