Avast security is bypassing my pfSense Wireguard VPN Tunnel and displaying my public IP

Hi all, I’m running the latest pfSense CE natively on a Mac Mini, with separate VLAN’s for ‘trusted’ and ‘untrusted’ devices, all separated with rules for security, and a Wireguard VPN tunnel is also set up. I’m using ‘policy based routing’, to send certain VLAN’s through the Wireguard VPN and it seems to work fine. I have a Mac on it’s own network and when I check my IP in my browser, it clearly shows the VPN address below (pic 1).

I have the free version of Avast security installed on my Mac, and I noticed when I click on the ‘Network Inspector’ tab it’s managing to bypass the VPN tunnel completely in pfSense and is displaying the name of my ISP and my actual public IP, not the VPN IP (pic 2).

but when I launch and use my VPN app directly on my Mac, traffic from Avast is routed through my Mac and my public IP is hidden, (pic 3).

Does anyone have any ideas why this is happening and how to fix it?

Uninstall Avast and find another solution that does not.

1 Like

Why don’t you try to add a gateway via your VPN for the vlan that the software is on and see what shows up.