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

    OpenVPN client cannot see VLAN network(s)

    General pfSense Questions
    2
    4
    406
    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.
    • I
      ITNiels
      last edited by

      Hi everyone,
      I am setting up an extended network over multiple server connected via VLAN, and would like a single entry point using OpenVPN, the problem is that when i connect via OpenVPN i can only see the local LAN, but not the LAN across VLAN.. it really has me stumped as to why i cannot get it to work!

      A little background:
      The servers are from Hetzner, have proxmox installed, and setup a vLAN.4000 using the Hetzner interface. each server has a VM with PFSense, with a direct IP to WAN and all the rest are internal virtual adapters for all the Machines.

      The Layout:
      Here is the layout of what the current setup looks like:
      210055af-a601-4329-8909-4db7c8537c1b-image.png

      I have created a Gateway on each PFSense to the other pfsense, and added a static route to the network on the gateway.
      Both networks can see each other perfectly fine, and i can ping between machines 1,2 => 3,4 and vice versa.

      All firewall rules are set to allow any (for testing!) and i am pushing both networks via OpenVPN:
      โ€œ10.1.1.0/29,10.2.1.0/29โ€

      The problem (red arrow on diagram):
      Where it goes wrong, is when i connect in via the OpenVPN server, i can see Machines 1 and 2 just fine, but not reach 3 and 4! no matter what i do, i feel like i have tried everything! but might just be overlooking something simple.. i need your help! I have been googling for days, and just trying things at random at this point, but not a lot to go on with a setup like this.

      Configurations:
      c03099b3-90f8-4d0a-a97a-830069845c09-image.png

      991836f1-45e2-429f-99f5-8ef1dc334b61-image.png

      2386f2c5-c45f-4534-9390-1724dcf5a9df-image.png

      098fc016-8755-4a96-8599-cb8d4f67af17-image.png

      6ddcb492-c5ed-4cfe-99e2-0e733f7ac1c4-image.png

      Please let me know if there is any more information i need to add.

      Kind regards
      Niels

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Unless you are NATing the OpenVPN client traffic leaving pfSense-1 then pfSense -2 will need a static route back to the OpenVPN tunnel subnet (172.1.0.0/29) via GW10.0.0.1. Without that it has no route back so is probably just sending replies out of it's WAN directly.

        Steve

        1 Reply Last reply Reply Quote 1
        • I
          ITNiels
          last edited by

          @stephenw10 Thankyou so much! creating a static route on pfsense-2 => 172.1.0.0/24 works!
          Marking it as solved! you are a saint! ๐Ÿ˜

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I try! ๐Ÿ˜

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