bnhf / openvpn-admin-plus

Docker-based web interface (with golang backend) for monitoring and admin of an OpenVPN TAP/TUN server setup with PiVPN or other OpenVPN server installations. This project has been renamed from pivpn-tap-web-ui, to reflect its new broader scope.
MIT License
141 stars 23 forks source link

Update models.go #31

Closed karabelnikov closed 1 year ago

karabelnikov commented 1 year ago

Fix MIAddress

bnhf commented 1 year ago

@karabelnikov

Unfortunately, changing openvpn to 172.17.0.1, as a default, is not a good idea -- I've tried it. The problem is that the WebUI is very slow to respond when it has a valid address, but OpenVPN server has not yet been configured to have a management interface available.

Better to leave it as openvpn, to give the user a chance to update their server.conf file first. In fact, I put a warning in the html help block to update the OpenVPN configuration first, and then change the Management Interface address field.