Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Layer 2 VPN LAN Packets get routed to WAN interface

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 236 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dieserNiko
      last edited by

      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 VPN

      Layer2 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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.