MapGuy11 "Main Net" --> "OpnSense" --> "VPN Tunnel" --> "Router on other side" (10.22.xx.xx)
That's a routing problem for starters -- HOW is the routing looking hop-by-hop through "Main Net" and "OpnSense?" Secondly, how granular are the routing controls hop-by-hop? TL;DR, if can't do either, you're hosed.
To expand my earlier diagram to explain things alittle better :
a.a.a.a / OPNSense --> UnFI --> "the internet" --> (another VPN device) --> d.d.d.d
| |
b.b.b.b ----------------^ |
---------> youtube
- Host b.b.b.b hits d.d.d.d through the tunnel you want to build on Opnsense.
- Host b.b.b.b also goes to youtube on the internet, but this traffic doesn't need to be tunneled.
- so on host b.b.b.b, UnFI, or Opnsense, SOMEthing needs to be able to granularly parse this routing out and (re)direct it accordingly, ie.
IF SRC=b.b.b.b AND DST=d.d.d.d THEN send to Opnsense and tunnel
ELSE do not tunnel.
I don't know what your base OS is on host b.b.b.b, nor am I versed in what controls Opnsense nor Wireguard has. You may have some luck with "opnsense policy based routing" on your search engine of choice.
Hope that gives you a starting point.
Regards