Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Modify OpenVPN Server Config

    OpenVPN
    openvpn
    4
    10
    414
    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.
    • R
      RoboMod last edited by girish

      Hello everyone,

      I'd like to modify the OpenVPN server config. How can I do that?

      Best RoboMod

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        That may depend on what you want to configure. Maybe you can be more explicit?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          We had some requests in the past to add an admin interface (https://git.cloudron.io/cloudron/openvpn-app/issues/22). Would be great to collect your use case as well.

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

            At first, I'd like to remove the push redirect gateway command.

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              @RoboMod Until we build the admin interface, best bet is to edit /run/openvpn.conf using the app's terminal and make changes there. Note that these changes are not persisted across restarts. Hopefully, we can get this fixed soon.

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

                Thanks for that. I tested this successfully by commenting out the line:

                push "redirect-gateway def1 bypass-dhcp"
                

                In addition, it would be great to stop any pass through traffic.

                Do you have any schedule for implementing the admin interface?

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  @RoboMod I will mark this as solved. Please see https://forum.cloudron.io/topic/1958/upcoming-apps. It's part of our next batch of things to do.

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

                    Wuhu! Thanks for picking up this topic. I saw the update and the additional info in the docs. One problem is: there is no /app/data/openvpn.conf. Should I modify the template file instead?

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by

                      @RoboMod I just published the new version (1.4.0). If you update to that version, you will find /app/data/openvpn.conf. https://cloudron.io/documentation/apps/openvpn/#customizations is the docs.

                      1 Reply Last reply Reply Quote 0
                      • andreasdueren
                        andreasdueren last edited by

                        Hijacking this thread. I don't think. it's currently possible to do port forwarding, is it? Use case is: I would like to conect a raspberry pi running yunohost at home to the vpn to get a static IP address which I won't get at home.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB