wfg / docker-openvpn-client

OpenVPN client with killswitch and proxy servers; built on Alpine
MIT License
353 stars 107 forks source link

Unbound Variables #110

Open jeff47 opened 1 year ago

jeff47 commented 1 year ago

It appears that unless one explicitly sets all the options (AUTH_SECRET, ALLOWED_SUBNETS, KILL_SWITCH, and CONFIG_FILE) to a value (either an empty value, or a setting), entry.sh fails due to an unbound variable error. I think this needs to be documented, or fixed in the script. As currently written, it sounds like leaving them undefined results in a default setting. At least in my hands, this was not the case.

AsrieltheGoat commented 1 year ago

Thanks bro, you saved me 😂

RoFz commented 11 months ago

A quick/ugly workaround is to add set +u to the entry.sh script. More information on this error here.