36 lines
2.9 KiB
Markdown
36 lines
2.9 KiB
Markdown
# First steps after the install
|
|||
|
|
|
||
|
|
The same for every installation method. About ten minutes. You need the URL and the administrator login and password printed by the install script.
|
||
|
|
|
||
|
|
| # | Where in the UI | What to do |
|
||
|
|
|---|---|---|
|
||
|
|
| 1 | Login page | Open the URL: containers `http://<host>[:port]`, system services `https://<host>:8088` (the certificate is self-signed: check the fingerprint printed by the installer, then accept). Sign in with the printed login and password |
|
||
|
|
| 2 | **Account Settings** | Change the username and the password; enable two-factor authentication |
|
||
|
|
| 3 | **PKI** | Check the parameters, press **Initialize PKI**. It runs in the background with progress on the page (key generation takes a while). The **VPN** menu stays locked until it is done |
|
||
|
|
| 4 | **VPN** | Set the server parameters (port, VPN network, routes, DNS) and press **Apply Configuration**: this writes the OpenVPN `server.conf` |
|
||
|
|
| 5 | **Server Process** | Press **Start Service**. The page shows the state of OpenVPN |
|
||
|
|
| 6 | **Certificates** | **Create New Client**, then download its `.ovpn` file (the download icon in the row). Give the file to the user |
|
||
|
|
| 7 | the host | Open the ports and set up NAT (below) |
|
||
|
|
| 8 | a client | Import the `.ovpn` file into an OpenVPN client and connect. The client appears on **Clients** and **Analytics** |
|
||
|
|
|
||
|
|
## The network side (step 7)
|
||
|
|
|
||
|
|
| Method | What is done for you | What you do |
|
||
|
|
|---|---|---|
|
||
|
|
| Containers | forwarding, NAT and MSS rules are set inside the container | publish `80/tcp` (or your `--http-port`) and the VPN `udp` port; put TLS in front of the UI |
|
||
|
|
| System services | `net.ipv4.ip_forward=1` is set; the firewall is **not** touched | open the HTTPS port (`8088`) and the VPN port; NAT for the clients: [Firewall](System_Services/Firewall.md) (`deploy/native/firewall.sh`) |
|
||
|
|
|
||
|
|
If you change the OpenVPN port in the **VPN** page, the client profiles carry the new port; with containers keep it consistent with `OVPMON_VPN_PORT`.
|
||
|
|
|
||
|
|
## If something does not work
|
||
|
|
|
||
|
|
| Symptom | Look at |
|
||
|
|
|---|---|
|
||
|
|
| The page does not open | the install script's final summary and health checks; [Containers](Containers/Troubleshooting.md) or [System services](System_Services/Troubleshooting.md) |
|
||
|
|
| **VPN** menu is locked | the PKI is not initialized yet (step 3) |
|
||
|
|
| Server does not start | the VPN page was not applied (step 4); then the log: `docker logs` or `/var/log/openvpn/` / `journalctl -u openvpn-server@server` |
|
||
|
|
| The client connects but has no Internet | forwarding or NAT is missing (step 7) |
|
||
|
|
|
||
|
|
## What next
|
||
|
|
|
||
|
|
Regular backups ([containers](Containers/Operations.md), [system services](System_Services/Operations.md)), updates (same pages), TLS and host hardening ([Nginx](System_Services/Nginx_Configuration.md), [hardening](System_Services/Troubleshooting.md#host-hardening-recommended-not-done-by-the-scripts)), [security model](../General/Security_Architecture.md).
|