1
Virtual private networks / Re: Route traffic from Site A to Site B through WG Tunnel out WAN Site B
« on: September 10, 2024, 03:51:52 am »
I was able to figure this out and I have all working. Wireguard-selective-routing document linked in your post above has all the ingredients.
You need to enable GW on Site B under "WireGuard instance" --> advance mode --> select disable route and input IP address for your GW. This could be any available IP from your tunnel subnet (see step 2)
On site A, create a new GW (use IP assigned on Site B). You need a few FW rules and NATing etc. Pretty much almost all the steps from this guide apply to side A. You can skip step 2 on-site A as this would only apply to site B (uni-directional) in your example. Step 9 - Configure routing, is also not not required.
You need to enable GW on Site B under "WireGuard instance" --> advance mode --> select disable route and input IP address for your GW. This could be any available IP from your tunnel subnet (see step 2)
On site A, create a new GW (use IP assigned on Site B). You need a few FW rules and NATing etc. Pretty much almost all the steps from this guide apply to side A. You can skip step 2 on-site A as this would only apply to site B (uni-directional) in your example. Step 9 - Configure routing, is also not not required.