Navigation

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

    Refresh of OpenVPN

    OpenVPN
    3
    4
    2548
    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.
    • M
      mnsmani last edited by

      I had defined two entries in OpenVPN. When I make the change in configure file (directly), it is not reinitializing the VPN.
      If I refresh one entry, say the second entry, then the first entry is not getting refreshed.
      I need to explicitly open the openvpn settings and click on the Save Button to initialize the OpenVPN.

      Any suggestions for its automatic initialization ?

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        What do you mean by making changes in config file directly? Which file? config.xml or config file of the service? You shouldn't do any manual changes to any files as everything is generated from the webgui dynamically on changes/reboot. Use the webgui for making changes.

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

          You need to remove /tmp/config.cache after changing config.xml

          1 Reply Last reply Reply Quote 0
          • M
            mnsmani last edited by

            Figured it out.
            1. Killed the process based on pid in /var/run
            2. Built the conf file using openvpn.inc
            3. Called openvpn command with conf file as argument.

            Bingo… went on well.

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

            Products

            • Platform Overview
            • TNSR
            • pfSense
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy