Navigation

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

    OpenVPN from guest vlan to production vlan

    OpenVPN
    3
    6
    272
    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.
    • J
      jacquesh last edited by jacquesh

      im trying to accomplish to connect OpenVPN in guest vlan to connect to a server in production vlan. What is the best way to accomplisch this?

      JKnott 1 Reply Last reply Reply Quote 0
      • JKnott
        JKnott @jacquesh last edited by

        @jacquesh

        VPNs have nothing to do with VLANs. A VPN provides a connection to the firewall and the traffic for it can be routed appropriately.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • J
          jacquesh last edited by

          yes but the server to connect to is in vlan 1 connected to a pfsense

          the laptop is in guest vlan 2 connected to the same pfsense.

          The laptop user want to connect true openvpn to make an connectop to the server.

          JKnott 1 Reply Last reply Reply Quote 0
          • JKnott
            JKnott @jacquesh last edited by

            @jacquesh

            Then set up the appropriate routing. It works just the same whether VLAN, VPN or regular interface. Routing is routing.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • J
              jacquesh last edited by

              yes but the problem is that the laptop cannot make an openvpn connection when it is connected to the guest vlan.

              when the laptop is out of office then everything is working ok.

              i gues it is not an routing issue but more like an nat reflection (or something) issue?

              1 Reply Last reply Reply Quote 0
              • V
                viragomann last edited by

                So you have a running OpenVPN server already and want connect to it from outside as well as from the guest VLAN?

                So assuming you're connecting to the server by using its FQDN hostname and that hostname is resolved to the WAN IP in the guest VLAN, you only need to add a firewall rule which permits that access. Just add a rule to the guest interface allowing the OpenVPN access to the WAN address.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post