Closed JStumpp closed 8 years ago
This makes sense ! I'll add something in this way for multiline extraconfig in next days.
default configuration parameters should be removed from bin/entry.sh to be usable in general
Just to be sure, you suggest to introduce new environment variables to be able to customize these default parameters ?
Thanks for your help.
Yes, environment variables for the stuff that is always required: push "dhcp-option DNS $DNS" push "dhcp-option SEARCH $SEARCH" push "route $ROUTE_NETWORK $ROUTE_NETMASK"
But the second route you defined I would move to the OPENVPN_EXTRACONF: push "route 169.254.169.250 255.255.255.255"
Than it can be used as standalone without rancher as well.
Thanks!
Done !
https://github.com/mdnsfr/docker-rancher-openvpn/commits/master new docker image available : 1.2 https://hub.docker.com/r/mdns/rancher-openvpn/tags/
Wonderful, thanks!
The OPENVPN_EXTRACONF should accept multiple lines (e.g. separated with \n)
and the default configuration parameters should be removed from bin/entry.sh to be usable in general:
Thanks for the nice container!