-
Notifications
You must be signed in to change notification settings - Fork 3
Admin Guide: Using Liquid on VPN
Liquid can be used with external HTTPS termination, so a group can configure their own VPN-limited access, or use networks that aren't connected to the Internet.
Under VPN we can't use the "Let's Encrypt HTTP challenge" we automatically obtain HTTPS certificates with. Because of this, you must supply your own HTTPS termination server, for example using Nginx or Apache. Liquid will run in HTTP mode with HTTPS protocol override, like this:
[liquid]
http_protocol_override = https
And comment out the [https]
section to disable it from liquid.ini
:
; [https]
Each app is hosted of its own subdomain. Here is the full list of subdomains to obtain certificates for:
yourdomain.org
hoover.yourdomain.org
dokuwiki.yourdomain.org
rocketchat.yourdomain.org
codimd.yourdomain.org
nextcloud.yourdomain.org
You can skip the ones that won't be enabled.
After HTTPS termination, forward all traffic to the Liquid server, port 80
(by default 10.66.60.1:80
).
Set up your own VPN server, clients, and configuration.
If the client VPN server is on the same machine or LAN as the Liquid servers, make sure to firewall off any direct connection from the client VPN zone into the Cluster Interface (by default IP 10.66.60.1
). They should instead have access only to the HTTPS termination web server you configured above.
The following subdomains must be configured in the DNS configurations for VPN:
yourdomain.org
hoover.yourdomain.org
dokuwiki.yourdomain.org
rocketchat.yourdomain.org
codimd.yourdomain.org
nextcloud.yourdomain.org
These DNS records should point to your own HTTPS termination server configured in the previous section.
Report incomplete documentation by opening a new Issue in this repository.