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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Modify OpenVPN Server Config

Modify OpenVPN Server Config

Scheduled Pinned Locked Moved Solved VPN
openvpn
10 Posts 4 Posters 3.6k Views 4 Watching
  • 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 Offline
    R Offline
    RoboMod
    wrote on last edited by girish
    #1

    Hello everyone,

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

    Best RoboMod

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        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
        0
        • R Offline
          R Offline
          RoboMod
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @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
            0
            • R Offline
              R Offline
              RoboMod
              wrote on last edited by
              #6

              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
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @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
                0
                • R Offline
                  R Offline
                  RoboMod
                  wrote on last edited by
                  #8

                  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
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @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
                    0
                    • andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      App Dev
                      wrote on last edited by
                      #10

                      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
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search