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

    OpenVPN client will not connect outside local network

    OpenVPN
    3
    18
    1.5k
    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.
    • LPD7L
      LPD7
      last edited by

      PS...Other than in the firewall and OpenVPN status logs I see no other indication that someone is connected. When I open status>system logs>openvpn I see no client connections is this status for clients accessing my server or my pfs instance of openvpn connecting to a vpn server? Also under vpn>openvpn>clients I see no openvpn clients either. Thanks.

      Intelligence is not a substitute for common sense.
      Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
      Putting legacy equipment into service and out of landfills.

      1 Reply Last reply Reply Quote 0
      • J
        jaspery @LPD7
        last edited by

        @lpd7 I've been using OpenVPN on pfsense for connecting to my home network for quite some time already (like 8-10 years), I've reinstalled it handful of times and it always worked normally after I followed standard pfsense's guide. An incident few weeks ago was a first time I had to go into advanced settings to play with MTU, that is why it took me couple of days to debug an issue. And in official guide, MTU thing is mentioned in a vague manner, so it is really hard to understand if I run into this exact issue or not, and how exactly to fix it. Other that that I don't really have any specific tips, since it's always worked for me from the box.

        LPD7L 1 Reply Last reply Reply Quote 0
        • LPD7L
          LPD7 @jaspery
          last edited by

          @jaspery What resource do you rely on for setting this up? I never went through the process of setting up a client as the video I used didnt go that route, it only had me setup a CA and a user cert with the credentials I use to log in which may be why nothing shows up under the vpn/openvpn/clients window when I am logged in. There is so much to configure (must have and nice to have) that its hard to visualize the "process flow" which is what I usually leverage when troubleshooting. Seems there are many ways to set it up and few resources that address the nuances for each. I am happy its currently working but I know its only a matter of time before something sends me back to square 1. Also I cant access everything on my network and am now trying to figure that one out.

          Intelligence is not a substitute for common sense.
          Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
          Putting legacy equipment into service and out of landfills.

          J 1 Reply Last reply Reply Quote 0
          • J
            jaspery @LPD7
            last edited by

            @lpd7 Well, just last week I set up it from scratch at home. I have fairly standard network with 1 WAN and multi LAN. I just followed instructions here: https://docs.netgate.com/pfsense/en/latest/recipes/openvpn-ra.html

            Made adjustment to reflect my network IP addresses and that was basically it, didn't do any crazy adjustments. Authentication: local user access ( since I only need 1-2 users).

            And as described at the very end of the article Added User with the certificate and used OpenVPN Client Export Package to export profile for an iPhone.

            and forget to mention, I ran again into MTU issue so I applied a fix for it.

            LPD7L 1 Reply Last reply Reply Quote 0
            • LPD7L
              LPD7 @jaspery
              last edited by

              @jaspery Do you see the client connection in any of the status windows within pfs? I am wondering why I dont see my client device anywhere in vpn/openvpn/clients or status/openvpn. The only place I see any indication I am connected is in status/system logs/openvpn and am trying to find out if this is normal. Have been digging through Netgate docs but havent seem to get the answer I think I am looking for. If I open this up to others here to use the vpn it would be nice to have a quick way to see who is connected.

              Intelligence is not a substitute for common sense.
              Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
              Putting legacy equipment into service and out of landfills.

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

                @lpd7 said in OpenVPN client will not connect outside local network:

                vpn/openvpn/clients

                This page is for setting up OpenVPN clients. It doesn't show connected clients.

                But you should see each connected device in Status > OpenVPN.
                What does this page show?

                LPD7L 1 Reply Last reply Reply Quote 0
                • LPD7L
                  LPD7 @viragomann
                  last edited by

                  @viragomann Thanks for that info. I guess one part of my question is since I have a user account why isnt it listed in vpn/openvpn/clients? I am assuming "client" is a configured user who can access my server.

                  As for status I am currently connected via my phone (cell data) and there is nothing listed in status/openvpn.

                  Appreciate your feedback.

                  Intelligence is not a substitute for common sense.
                  Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                  Putting legacy equipment into service and out of landfills.

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

                    @lpd7 said in OpenVPN client will not connect outside local network:

                    I guess one part of my question is since I have a user account why isnt it listed in vpn/openvpn/clients? I am assuming "client" is a configured user who can access my server.

                    I should be more clear. pfSense can act as an OpenVPN client as well. And this page is for setting up a client to connect to another OpenVPN server.

                    As for status I am currently connected via my phone (cell data) and there is nothing listed in status/openvpn.

                    What do you see on the status page?
                    There should be a section for your server. Check if it's the correct name you've stated as description in the server settings, and it status should show a green check:
                    2acbda29-769f-4379-97a5-1b852dc8a7fd-grafik.png

                    LPD7L 1 Reply Last reply Reply Quote 0
                    • LPD7L
                      LPD7 @viragomann
                      last edited by

                      @viragomann I have a client currently connected and nothing shows up in the status window. This seems pretty simple cant understand why there is no records of clients.
                      a0c097b3-55d1-4c50-94a9-edff07b29a81-image.png

                      Intelligence is not a substitute for common sense.
                      Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                      Putting legacy equipment into service and out of landfills.

                      1 Reply Last reply Reply Quote 0
                      • LPD7L
                        LPD7
                        last edited by

                        So can anyone provide suggestions as to why when I am connected to my PFS box via open vpn client that I do not see the connection listed in the status>openVPN screen?

                        Intelligence is not a substitute for common sense.
                        Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                        Putting legacy equipment into service and out of landfills.

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