Closed fuyunhehe closed 3 years ago
What's the motivation? The port is easily overridden by docker port mapping.
The purpose of the OVPN_PORT
value is to communicate the external port mapping to generate configurations. It's expected that the openvpn daemon always listens on port 1194 in the container and docker manages the port mapping.
openvpn.conf chage 1194 port to $OVPN_PORT