OPNsense Forum

English Forums => General Discussion => Topic started by: erbmur on April 02, 2024, 10:52:15 AM

Title: Help with routing traffic through VPN gateway
Post by: erbmur on April 02, 2024, 10:52:15 AM
Hello everybody,

I made the jump from pfsense to opnsense yesterday on my homelab.
I have managed to get everything setup apart from one.  I seem unable to pass traffic through a wireguard VPN gateway.
I can see the gatways are online via the gateway widget on the home screen.
https://ibb.co/LrmWPvp (https://ibb.co/LrmWPvp)

I have setup NAT rules for the three gateways.
https://ibb.co/LSWXzCt (https://ibb.co/LSWXzCt)

I have setup the below firewall rule to on the LAN to pass all network traffic from one of my devices through one of the gateways.
https://ibb.co/25jwDWh (https://ibb.co/25jwDWh)

When the rule is disabled, I can ping 8.8.8.8 as normal get the below response.
https://ibb.co/my6m1kb (https://ibb.co/my6m1kb)

However, when I activate the rule the same ping brings back the below response which is a response from the opnsense ip address. When trying to access the web, I also get the below error message. What am I doing wrong?
https://ibb.co/s6xQqsH (https://ibb.co/s6xQqsH)
https://ibb.co/gVbBb9r (https://ibb.co/gVbBb9r)