Layer 2 VPN LAN Packets get routed to WAN interface
-
Hi there,
I hope I didn't miss another topic with the same problem, google didn't help either...
I got the following setup:
WAN (DMZ) on eth0.12 → 192.168.2.2/24
LAN on eth0 → 10.0.0.253/24
Layer2 VPN on ovpnc6
bridge0 containing LAN and Layer2 VPNLayer2 VPN connects my home pfsense with a pfsense I run on a dedicated server with multiple vms on it. One of those vms has a virtual network interface in the bridged layer 2 network with IP address 10.0.0.63 - so far so good. If I ping 10.0.0.63 from my home pfsense it responds correctly within about 40ms, although if I ping the same 10.0.0.63 from a client behind my home pfsense (e.g. this computer, 10.0.0.40) I can't reach it and traceroute tells me the package gets routed to 192.168.2.1, the gateway for the WAN interface... It also doesn't matter what IP the vm on the cloud server uses, this one IP always gets routed to WAN... The IP is also set by my local home pfsense DHCP server...
The firewall for all interfaces except WAN are pretty much any any for all protocols... I really don't know anymore where I should search. I hope this is all information you need, if I should have forgotten anything I'm happy to post it.
Thanks in advance,
Niko