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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • 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

Cloudron Forum

Apps | Demo | Docs | Install

Modify OpenVPN Server Config

Scheduled Pinned Locked Moved Solved OpenVPN
openvpn
10 Posts 4 Posters 478 Views
    • 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
    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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.