OpenVPN Installation Issues

  • I'm trying to setup an OpenVPN server. I've got the OMV-Extras repositories enabled. I've got VPN packages selected in there. I've installed the OpenVPN package. I get the following error when trying to change anything though:
    Failed to execute command 'export LANG=C; omv-mkconf openvpn setup 2>&1': cp: cannot stat `/usr/share/doc/openvpn/examples/easy-rsa/': No such file or directory


    I think the issue is this:
    No current or candidate version found for easy-rsa
    Package: easy-rsa
    State: not a real package


    /usr/share/doc/openvpn/examples/easy-rsa/ isn't on my system and easy-rsa isn't installed.


    Any ideas on solutions please? Thank you very much! :)

  • I'm reluctant to manually install the .deb package due to updates for potential security issues.


    Following what you said I've edited the appropriate sources.list file to remove openvpn.

    Code
    $ apt-cache policy openvpn
    openvpn:
    Installed: 2.3.14-wheezy0
    Candidate: 2.3.14-wheezy0
    Version table:
    *** 2.3.14-wheezy0 0
    100 /var/lib/dpkg/status
    2.2.1-8+deb7u3 0
    500 http://ftp.uk.debian.org/debian/ wheezy/main amd64 Packages
    500 http://security.debian.org/ wheezy/updates/main amd64 Packages


    Still can't find easy-rsa though.

    Code
    apt install easy-rsa
    No candidate version found for easy-rsa
    No candidate version found for easy-rsa
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    • Offizieller Beitrag

    You still have the version from the openvpn repos installed. You need to remove it and install the version from the Debian repos if you want the plugin to work.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!