1
Virtual private networks / Multiple LANs Routed through Multiple Wireguard Endpoints
« on: November 16, 2024, 04:11:33 am »
Hey all,
pfsense refugee here. Loving opnsense so far.
I followed a few different guides and I was able to get a wireguard endpoint up and running, which is successfully routing all of my LAN traffic to a mullvad server.
I've followed all of the same steps to configure two other wireguard endpoints, but for some reason these other two aren't working.
I'll refer to my setup as follows:
LAN1 --> WG0 (mullvad)
LAN2 --> WG1 (VPS1)
LAN3 --> WG2 (VPS2)
I can confirm all three wireguard interfaces are making handshakes. From any client on either LAN2 or LAN3 I cannot even ping or reach the opnsense gui. If I disable the gateways for WG1 or WG2, then I can access internet and the opnsense gui.
So that leads me to believe it's the gateway settings messing things up. Again, these are the same settings I used for LAN1 --> WG0 which works flawlessly. Floating firewall rules and Outbound Hybrid NAT rules are also the same for all wireguard interfaces.
pfsense refugee here. Loving opnsense so far.
I followed a few different guides and I was able to get a wireguard endpoint up and running, which is successfully routing all of my LAN traffic to a mullvad server.
I've followed all of the same steps to configure two other wireguard endpoints, but for some reason these other two aren't working.
I'll refer to my setup as follows:
LAN1 --> WG0 (mullvad)
LAN2 --> WG1 (VPS1)
LAN3 --> WG2 (VPS2)
I can confirm all three wireguard interfaces are making handshakes. From any client on either LAN2 or LAN3 I cannot even ping or reach the opnsense gui. If I disable the gateways for WG1 or WG2, then I can access internet and the opnsense gui.
So that leads me to believe it's the gateway settings messing things up. Again, these are the same settings I used for LAN1 --> WG0 which works flawlessly. Floating firewall rules and Outbound Hybrid NAT rules are also the same for all wireguard interfaces.