Posts by quickcurrent

    I have set up a home VPN on a RPi running Raspbian O/S using OpenVPN software. This box is hard wired to my router. It is working well for several laptops running Windows 10 and a pair of Android phones.

    I have another RPi running LibreELEC for KODI that I would like to set up on the VPN. It, too, is hard wired to my router. I have tried implementing BrianHornsby's OpenVPN script, but it seems regardless of what I try, I keep getting the error message

    An error has occurred whilst trying to connect to OpenVPN management interface

    I don't know if Brian Hornsby's script is strictly for OpenELEC, but assumed it would work for LibreELEC as well.

    The Addon is installed on my TV box. I have created the client configuration file and dropped it into the TV box, then modified it as follows:

    client


    dev tun


    proto udp


    remote 135.23.134.118 1194


    resolv-retry infinite


    nobind


    persist-key


    persist-tun


    key-direction 1


    remote-cert-tls server


    tls-version-min 1.2


    verify-x509-name server name


    cipher AES-256-CBC


    auth SHA256


    auth-user-pass /storage/.config/vpn-config/pass.txt


    comp-lzo


    verb 1


    crl-verify /storage/.config/vpn-config/crl.pem


    <ca>


    -----BEGIN CERTIFICATE-----


    MIIDKzCCAhOgAwIBAgIJALoEewEn5rsfMA0GCSqGSIb3DQEBCwUAMBMxETAPBgNV


    BAMMCENoYW5nZU1lMB4XDTE3MDgyMzEyNDg1NFoXDTI3MDgyMTEyNDg1NFowEzER


    MA8GA1UEAwwIQ2hhbmdlTWUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB


    AQCzO9IDWj70Sh5fTD4CP2pXmsWjSjpJyXywVMp70xuAD4wFRrZg5cxSxEjl7oVg


    onrPOVXFtr/4ZHmVqeDwK+OhXzEY93PQ0DX2TnVfzlICBU9eayhJmXsuxzrLOtkm


    PivdHVUB2I4tULRqUMoyHcI9u7L9+iVdHh4dnGJ5N35OZ48u8z7CIJUQ6W82s4ox


    Jt/ohkcOF3EHxvhdkxzpijcPGbtI8t3h0JKwhJ3/JnJkrc6NWz00QiqcQqu3RjXA


    ZRshZyZH6naFIOcYGuDrnyjx+7StnZve05NnJ0s95UJTGLxdY8UiZ8JMoqOuvfEg


    CXN51QgPTZqt0RLHrEJaecl3AgMBAAGjgYEwfzAdBgNVHQ4EFgQUutTsBQH7Z4Lj


    0kyb1Ch8G0QU7S8wQwYDVR0jBDwwOoAUutTsBQH7Z4Lj0kyb1Ch8G0QU7S+hF6QV


    MBMxETAPBgNVBAMMCENoYW5nZU1lggkAugR7ASfmux8wDAYDVR0TBAUwAwEB/zAL


    BgNVHQ8EBAMCAQYwDQYJKoZIhvcNAQELBQADggEBAFEZdxSfKCumQTH/9uIzRh4P


    MkGsyQP0k7vXzbAt3CeS7XbAC0wCQbDPO96U8/DqB7UgH4upLb+FdvablBSCx+nH


    LCjcvlgIiiXYcRG/D5PyCwAKSwsPs/xSHihZXeKajhcUCoL3f7ReVZpezmdbaCvE


    7TSzd5cdzI26izM8LAJl4BwOeMvAIxcbiJphMaxLiFBnBlCQ+i2fYCLhc0ajK2d1


    5GsgqofkSu16wNJaid79X+1P0SbLxREBZ7jZyZ/tBsN458g7ULWgCPD/aQ4Lv26j


    QavXh9F+ylJu6dkrgli8AM7D0Kb1T4iqQH8AfzBVHmcQ6i7QOnEiNkjJ1mZf8bs=


    -----END CERTIFICATE-----


    </ca>


    <cert>


    -----BEGIN CERTIFICATE-----


    MIIDNTCCAh2gAwIBAgIBCzANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDDAhDaGFu


    Z2VNZTAeFw0xNzA5MTQyMDE3MDRaFw0yNzA5MTIyMDE3MDRaMBIxEDAOBgNVBAMM


    B1RWQm94UGkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCh/EPyvsDk


    hU+NXimT5ZUdnW+WDJpp9oOG/k286+wQz/mBLBOnt+CPB73x+jhhTNI/NnJwnnHz


    Q+E7lDXXRfI+I8X9bjW/gdL7Xc0fDwLqpB0YAq6QlIzuDg5ngNLS9nimp8Ygu4b+


    ibYsm1dZBmIfEWsSKxaSat3d7FuqjKn7JC8j4tV5ae9CFgKfHXV533y/UQJi2Kzg


    TVQuwqSRiLLSIhNctZ5y/JnBwxICxIhdhX9qUfvmb7PmUSsFvdRJSeibgZHc+6on


    0eX2LWnDjSzZo3hhm5h5s2NQIvoScdRKeGdke12ynulpB5hQ5P4wfvv3+Dfc96P6


    tZyag0Y+MqzjAgMBAAGjgZQwgZEwCQYDVR0TBAIwADAdBgNVHQ4EFgQUp0bG8gm7


    L3Pdu9vxFFUvnf/cNQEwQwYDVR0jBDwwOoAUutTsBQH7Z4Lj0kyb1Ch8G0QU7S+h


    F6QVMBMxETAPBgNVBAMMCENoYW5nZU1lggkAugR7ASfmux8wEwYDVR0lBAwwCgYI


    KwYBBQUHAwIwCwYDVR0PBAQDAgeAMA0GCSqGSIb3DQEBCwUAA4IBAQCvpT1C3iKN


    0UihsjYYz5f4sEcNovI1WYqxkOCmqPqX76ue2TJE0apiG8MoZ1sblxP6LyQ51fw1


    zQ3WUToiFi94sz7yxW4Wo5S4YS2M+ffjGpgXTSS4GMBxrDbHYmRhCbrpR2dJGBz4


    094XzzXMlr1rnVGaBYWWwuswCb/Icw07mVr2+TgEYZbWlpAbDDy8hrL9tkrrUVVT


    zQT51XJBlyLizzmUSfUDQQdq2ntviTWaGz1dyDKCndbqScBOd2NhSnE3yr/HH+xM


    1Mb2oMwzeHDMz+W5sbTeH2dXow10jSAIU45ZH2l8qboQaE3gBaMZx8Sl1ES8VaVg


    ciZmIzuy3eBB


    -----END CERTIFICATE-----


    </cert>


    <key>


    -----BEGIN ENCRYPTED PRIVATE KEY-----


    MIIFHDBOBgkqhkiG9w0BBQ0wQTApBgkqhkiG9w0BBQwwHAQIdSCTdLJao8ACAggA


    MAwGCCqGSIb3DQIJBQAwFAYIKoZIhvcNAwcECLMyhHzIGQm5BIIEyIuJx93YAIRD


    PANUihhVJ8ELoYWzAwWiBXnkRjC2HT7Bw+dD8KYMQdwHB0LZm+LLQ7ju3DYzMUFI


    279n6nBTPDQlV/ajLrMaUbhqRf/3yKU/64s1FRe+nfox943IGR4j0q4yY+RPB59N


    mcsYP1BjVQeZ3x+Gkgq48xCUIDkGGPHDA00ydhizBQMBMAzEExLMaHcOgTRe3M1Z


    lD2ubs9CFySZAKXc3bt0VyZe+FdbT6nDfzLEx4v4YDZzb6GnvSXJSDn9AcRT82bW


    fqxvUf4WbOOkW8dMmMzBmVZqrqP3tVLB5PaxNbs+Uh8LA8UOh+Ae4uF7H7U7vwNa


    0cn6iG20t/kCGcdgNb08F44H0eTfXcHt7zuturU6zIZSd6Z+C5Elefevub/2t98X


    fg96zPTMiPsFoYoLFY/4K6uGi8HVmmY4P5zV56wQrTWAGrIpWNGPah0c7cHDeYHt


    DVXkO/aPbEgvfb63CVmCBM92R/Zxx9T/xkhUzRZg2AcJimDX4Az8e+Tw17JqQa4E


    NXmEiS5qSb/WCdAoljCIlVcXD4FEKVliO9urN2ozIkNe4c9MFV+mcCmFNp+1UjmQ


    OTfQtRpDPWUZq5HMlwPkKGRXWUAqm4yqtUB7AmfQ4uxwSbMje9BZj2UiERdgf++O


    DtjQ5JcfSEIHIXrJzZ0FfxoN9CQNXmT2FTeuU0VPQi8mkAA7RwLbTmUNLlGlVia0


    UHBhRfBFqab7EWFOTDAEsFIpwkexRKBZ5SgpdUihB8qUt9OiLiUgrD4w1zZpMx4l


    nlo9wEUiWpuogcFSRsEw5yyAz17uRAm7N0L9IC1vxum9l7aa+45RP96j+q/Ji7tp


    9btAszvpRHW1W2hyYXQicAeEmsGV6BWY3edeeDzdIjhHRbWaRAMXdgzdcxWIllz6


    ndYVqJYLUqylNL1daRmbnH84BmAWDqrxB9cWsQrUYvDNKrbeJCCPfiffbe9nl0Ox


    Liguv9DnNHjHj62Weke6cGlyQzgdoSkMSRM/fpqEGc6vRnjRDrBVnaiFydpu1wM0


    vBvunvK/9tq3OixLJi46Nfa0hnL+t0ETHtiw+y5jixpqcaaWmhlV9YyhgdO2KHWz


    q/P+qhtx6OWFBTLvrAEFsv/sGLSPuxabswHaGsgl/CrjDAjzXAPV/xVdFpa9OE3f


    CRS9MYPXPus7o80mAQXb45Q9py7v6ByZCBDxCdv397IHWa5S0lWRTg1WrcGXjUH6


    Jp9z40aGdoSy0VXLuDT5K5gn+5otYUwhKBHOa8rtplUMdDh8cBQ49ckEvLrIDIzn


    Ufw3ogbTa9iJqnPALfXsT/j8h6Mta9ercWDKTX/K+iJCtM8axW+utI7aNyIUXRkx


    RVmR2x9qOEKfceH4Ffr1ONtMUrw2sDlTP8oi1N5/U4dqvXet5e0qPldSWLLTqLWR


    ab9V7CQE957m7i+2GS+OHk9k287h/JWUGV0i9J213OgAnAkF9KbNVkpHUhwOsq6c


    20/XVpMvqBMoWLnnyYD61qhhE9YAHq9htsf/iXWBiOtSXSRAxhXfJi/X8rMAZkM+


    triPZFx9g5i/GolxIcEi79w94FE06pN+4VxmG7qhjlUpkbqKD4/QV/JIeyTzBm5d


    1n+ACjZU1XzfTSZobhUnYw==


    -----END ENCRYPTED PRIVATE KEY-----


    </key>


    <tls-auth>


    #


    # 2048 bit OpenVPN static key


    #


    -----BEGIN OpenVPN Static key V1-----


    4bb7619b09e00633bf70998d11d72daa


    40e3da3313012773e1d85de824ead9f7


    4e363336ab79799f16f4793e2742745d


    6fb14eb08b5063aed2287568631af029


    fc5504c92e4f1aefe19801e054f09c8a


    5f5c4c2b931f9ab90dc399dea2bfc437


    d133670eea79244a84ad6dddd0788f59


    64b73b14aef191de7b6cc51536227c3e


    32444f5df070e68a49370948165fc284


    19ed76f353f4204d334590f308001c19


    9051ae194e4bb910233c8dd0c486f35e


    fbe5dabd1481b97ab911baa4801b3ae5


    b10e5d6456298952206ad81d1105e6ad


    3c0d7b61eaaad83db8385e1042496b3b


    423da250723b2f96d144f853528132c3


    fb38e098f31ef4368ecb9a8a77ab1d3e


    -----END OpenVPN Static key V1-----


    </tls-auth>


    Is there some problem with this configuration? Or is the problem with Brian Hornsby's script not working on LibreELEC for some reason? Is there some other way to get this TV box on my VPN?

    Thanks,

    quickcurrent