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

    OPENVPN NOT TUNELING IP

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 2 Posters 1.0k 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.
    • F
      fern_dez
      last edited by

      Hi, I'm trying to make an openvpn server with LDAP authentication to connect from outside of the network, but when i'm try to launch this is what happens.
      1.png
      When i check the IP the IP doesn't change, some ideas?

      The firewall of the PFSense haves the rules and the router too.
      Captura de pantalla de 2022-03-31 10-44-36.png Captura de pantalla de 2022-03-31 10-44-05.png Captura de pantalla de 2022-03-31 10-43-55.png Captura de pantalla de 2022-03-31 10-43-38.png Captura de pantalla de 2022-03-31 10-43-25.png Captura de pantalla de 2022-03-31 10-42-41.png

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

        @fern_dez
        Something to see in the pfSense OpenVPN log?

        Is there any reason to use TCP? OpenVPN works more reliably with UDP.
        Consider that if you change the protocol you have also update the client configuration.

        F 1 Reply Last reply Reply Quote 0
        • F
          fern_dez @viragomann
          last edited by

          @viragomann Hi, thanks for the reply.
          This message is in the log "TLS Error: incoming packet authentication failed from " what do you think?

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

            @fern_dez
            Seems you client config is wrong.
            Where do you have it from?
            You can install the OpenVPN client export utility on pfSense and export the settings.

            Which client do you use?

            F 2 Replies Last reply Reply Quote 0
            • F
              fern_dez @viragomann
              last edited by

              @viragomann Yes, i have that package but somes configurations in the file don't work.

              1 Reply Last reply Reply Quote 0
              • F
                fern_dez @viragomann
                last edited by

                @viragomann error_vpn.png

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

                  @fern_dez
                  I guess, the client is missing the TLS key.

                  Why do you use the inline config package? Which client?

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fern_dez @viragomann
                    last edited by

                    @viragomann Ey, sorry for no reply, i was trying and trying... i can't do more...
                    The log on the server says "P_CONTROL_HARD_RESET_SERVER_V2" and "P_CONTROL_HARD_RESET_CLIENT_V2".

                    In the client the first message is "Preserving recently used remote addres: [AF_INET]xxx.xxx.xxx.xxx:xxxx" "UDPv4 link local:(not bound)"

                    I don't know what can i do 😥

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