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

    Very Confusing is OpenVPN Setup

    Scheduled Pinned Locked Moved OpenVPN
    47 Posts 5 Posters 6.4k 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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      No. Restart the OpenVPN process. (Status > Services, stop it and start it. This is restarted when you make a change like disabling the redirect gateway push but Steve is just being thorough.)

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      R 1 Reply Last reply Reply Quote 0
      • R
        rwhitney @Derelict
        last edited by rwhitney

        @Derelict I just restarted the running process for openvpn. I did just notice that I am getting a connection error: key registration failed to occur within 60 seconds... I am trying this from a Windows laptop at work through an external wirelass network. I don't have this connectivity problem from home on my linux box - just from there I still cannot see the local LAN here at work. All I can see is the firewall

        1 Reply Last reply Reply Quote 0
        • R
          rwhitney @viragomann
          last edited by rwhitney

          @viragomann Here is my server setting for Tunnel:
          b3c7e981-4ad8-4ed1-9e33-eda0bf62ada5-image.png

          I do not see a setting for Remote Network in OpenVPN > Server

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

            @rwhitney
            That was wrong. It should be "Local Networks".
            I'll correct it above.

            R 1 Reply Last reply Reply Quote 0
            • R
              rwhitney @viragomann
              last edited by

              @viragomann Oh, so I do have something correct?!!

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

                @rwhitney
                ☺ Yeah!

                R 1 Reply Last reply Reply Quote 0
                • R
                  rwhitney @viragomann
                  last edited by

                  @viragomann
                  If I were to start from scratch, what would be the first thing to do? (setup the Cert?)
                  second: setup an openvpn server: (I think I have this set).
                  Third: setup a user?
                  Fourth: setup a user cert?
                  Fifth: download config from Client Export
                  What am I missing?

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

                    Your setup looks well, however starting from scratch with the OpenVPN part may help making it work.

                    The cert should not be wrong as long as you've generated the correct type (CA, server, client).

                    Apart from this, I start with the certs:
                    CA
                    server
                    client(s)

                    Then I set up the server and at last I export the config and install it on the client computer.

                    R 2 Replies Last reply Reply Quote 0
                    • R
                      rwhitney @viragomann
                      last edited by rwhitney

                      @viragomann ok this is quite helpful - now how do I populate the remote access server dropdown?
                      I created a new user certificate, am using an existing server cert and added a new client, but this does not appear in the remote access server list? (under Client Export)

                      1 Reply Last reply Reply Quote 0
                      • R
                        rwhitney
                        last edited by rwhitney

                        it seems to me the only way to populate the remote access server list is to use the wizard?
                        Yes, I see now that the wizard is for Remote Access Server setup specifically

                        1 Reply Last reply Reply Quote 0
                        • R
                          rwhitney @viragomann
                          last edited by

                          @viragomann I am having some success - I deleted all the old clients and severs except for one. Now I do not see the new clients in Client Export - also, there are some clients left over (in Client Export) after deleting them from clients.
                          Again thanks so much for all the help you have given me!

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

                            Consider that the server and user certificates have to be from the same CA.

                            So in the client export tool, after selecting the server, you only get users whose certs are from the same CA as the cert of the selected server.

                            R 2 Replies Last reply Reply Quote 0
                            • R
                              rwhitney @viragomann
                              last edited by

                              @viragomann gotcha - Thanks!

                              1 Reply Last reply Reply Quote 0
                              • R
                                rwhitney @viragomann
                                last edited by rwhitney

                                @viragomann I have now tried 2 different certs ( both server and client use the same in each instance ) and she still does not show up in Client Export - my own was an existing entry in CE and I can now see the target network - incidentally, I only have one server in the dropdown for Remote Access Server in CE - ok I just reran the wizard to wetup the other server (duh!) and she shows up under the new server; however she cannot see the remote network - I have made a few adjustments - will update tomorrow when I know more
                                UPDATE:
                                She's in! I needed to make a new cert for her that matched 100% - sorry, this was very confusing to me. Thank you, everyone for your insight and assistance!!

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