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

https interface for user management #648

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
note about https logs
  • Loading branch information
nanda committed Mar 30, 2021
commit 557af3658af7c72ec94f133b13dc083410fd85ae
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,14 @@ resolvers like those of Google (8.8.4.4 and 8.8.8.8) or OpenDNS
## Https user admin
If you wish to use https interface for configuring the clients
* Pass -H to ovpn_genconfig
docker run -v $OVPN_DATA:/etc/openvpn -H --rm kylemanna/openvpn ovpn_genconfig -u udp:https://VPN.SERVERNAME.COM
docker run -v $OVPN_DATA:/etc/openvpn -v $OVPN_LOG:/var/log -H --rm kylemanna/openvpn ovpn_genconfig -u udp:https://VPN.SERVERNAME.COM
It will ask you to specify username/password for the interface & for domain name for https certificate
* If you wish to supply your certificate/key for the https server, place it in $OPENVPN/http/ and set ownership and access rights.
cp server.pem server.key $OPENVPN/http/
chown 101:102 $OPENVPN/http/server*
chmod 600 $OPENVPN/http/server.key
chmod 644 $OPENVPN/http/server.cer
* Be aware that the lighttpd log files are not logrotated.

## Security Discussion

Expand Down