[UPDATED] OpenVPN Server for LibreELEC

  • WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested
    exec /usr/local/bin/ovpn_initpki: exec format error

    WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested
    exec /usr/local/bin/easyrsa: exec format error


    WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested
    exec /usr/local/bin/ovpn_getclient: exec format error

    why am i getting these then?

  • The original post/user created an 'arm' docker image, so that's not going to run on x86_64 hardware. There are probably hundreds of alternative Docker images (for x86_64) available if you look on Docker Hub .. not that you need to use Docker because we already embed the OpenVPN binary in the OS and the only difference between client and server use is configuration. Create a server config and start it at boot and we have a server. Create a client config and start it at boot and we're a client. Create both client and server configs if you like .. all is possible.

  • Nope, but the basic instructions in /storage/.config/system.d/openvpn.service.sample are valid for creating a client connection. If you want to create a server, read up on how to create an OpenVPN server conf and use the same service/conf to start a server. The only challenge with LE will be that any external files you link into conf will need to be located somewhere under /storage and not the usual /etc/openvpn location used in any guides you read.

  • Nope, but the basic instructions in /storage/.config/system.d/openvpn.service.sample are valid for creating a client connection. If you want to create a server, read up on how to create an OpenVPN server conf and use the same service/conf to start a server. The only challenge with LE will be that any external files you link into conf will need to be located somewhere under /storage and not the usual /etc/openvpn location used in any guides you read.

    Great Suggestion - I feel the need to test some configs and put-it to work as a server, forgetting the docker image :)