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

    Open VPN reinstallation required each time after system restart - Very Strange

    OpenVPN
    4
    10
    1.9k
    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.
    • S
      sreyu04
      last edited by

      HI,
      We are using PfSense 2.1-BETA1 (amd64) FreeBSD 8.3-RELEASE-p8, Road warrior is configured & was working perfectly. My issue is - OPEN VPN will not communicate tunnel n/w after the system is shutdown / restarted. The only work around is we need to uninstall existing OPEN VPN client & install it again. This is disgusting, could anybody suggest a valuable solution for this ?

      Note: The strange part is this is not happening to all machines >:( >:( >:( >:(

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        When you install it, do you install it by right clicking the install file and running as Administrator?  What is the OS you installed on?

        1 Reply Last reply Reply Quote 0
        • S
          sreyu04
          last edited by

          HI,
          Thanks for your response, usually when i install, i do run as admin as you mentioned below. The strange thing is it will work initially with out any issue only after each fresh installation & when ever the system is restarted / shutdown, i again need to uninstall the complete setup & install it again. I will describe my situation.

          1. I installed open VPN package by run as administrator
          2. I am able to connect my tunnel network & able to communicate without any issues.
          3. I shutdown / restart my machine.
          4. I had run VPN again, it will show the connection is up & i also got one virtual ip. Even i can see my status as connected on my PfSense dashboard.
              Here comes the real issue even though the tunnel is showing connected, i am unable to communicate to my tunnel network.
          5. I reinstalled without uninstalling the existing application - the result was same.
          6. Finally i had done a complete uninstall, [removed both TAP & VPN, deleted the open VPN config files]
          7. install the program again - it will work
          8. Again it will not work after system restart

          The OS which i installed is Win 7, but the same issue happens for some of my XP machine as well.

          The other strange thing i noticed is this is not happening to all machines, the same package will work with out any issue on some other machines [both Win 7, Win8, Win Xp]

          This issue happens only for couple of machines, I Doubt some conflict but don't know where. There is no VPN program none other than this.

          1 Reply Last reply Reply Quote 0
          • S
            sreyu04
            last edited by

            I had also tried, Management Interface Open VPN Manager but no hope. Still the issue is there

            Ovpn.JPG
            Ovpn.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Does not make much sense… Post the output of

              netsh int ipv4 show route
              

              both when it is working and when it is not working.

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                Just for encouragement - I use the OpenVPN Manager install package on Win7 and Win8 and it works. It does sound very much like the route is not getting added, the result of doktornotor command will tell.

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  @phil.davis:

                  Just for encouragement - I use the OpenVPN Manager install package on Win7 and Win8 and it works. It does sound very much like the route is not getting added, the result of doktornotor command will tell.

                  FWIW, I've seen one weird machine where there route (and IP) was not getting deleted for some weird reason… the disconnect script was crashing on that. The route wouldn't matter much (no def1 option) but the IPs kept accummulating and exhausting the entire /24 eventually. I hate Windows.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    Perhaps there is something wrong with the machine's OS?  Its hard to know but sounds like some corruption there.  When I have one machine that is not like the others, I wipe and restore and usually these sorts of inconsistencies disappear.

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      @kejianshi:

                      Perhaps there is something wrong with the machine's OS?  Its hard to know but sounds like some corruption there.  When I have one machine that is not like the others, I wipe and restore and usually these sorts of inconsistencies disappear.

                      Well yeah, definitely… the issue I mentioned above vanished after reimaging the box. It could probably be solved in another way, but was just not worth wasting the time.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        I only have two items in my bag of tricks:

                        Shut down and restart
                        Wipe and reinstall

                        If you take those away I have nothing  :'(

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