Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

management access is hard coded #247

Closed
SkazochnikZlodey opened this issue Oct 5, 2023 · 1 comment
Closed

management access is hard coded #247

SkazochnikZlodey opened this issue Oct 5, 2023 · 1 comment

Comments

@SkazochnikZlodey
Copy link

Hello .

in ./setup/configure.sh

line 59
openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --port 1194 --proto tcp --management 127.0.0.1 8989 --dev tun0 --server ${OVPN_SRV_NET} ${OVPN_SRV_MASK}

--management 127.0.0.1 8989 looks wired.

may be will be good to make next changes:
in ./setup/configure.sh
add after line 8
OVPN_SRV_MANAGEMENT_NET=${OVPN_SRV_MANAGEMENT_NET:-127.0.0.1}
OVPN_SRV_MANAGEMENT_PORT=${OVPN_SRV_MANAGEMENT_PORT:-8989}

and replace line 59 with:

openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --port 1194 --proto tcp --management ${OVPN_SRV_MANAGEMENT_NET} ${OVPN_SRV_MANAGEMENT_PORT} --dev tun0 --server ${OVPN_SRV_NET} ${OVPN_SRV_MASK}

@pashcovich
Copy link
Contributor

did you really want to change these values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants