Compare commits
19
Commits
mori/multi_user
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0a742d5a0 | ||
|
|
354d711f3d | ||
|
|
0cc3aab07e | ||
|
|
a54a50623f | ||
|
|
7168914d12
|
||
|
|
b152f54f4c | ||
|
|
70a99789d8 | ||
|
|
d1a24d5e3a | ||
|
|
31e649f670 | ||
|
|
01b2912765 | ||
|
|
75638f7e1b | ||
|
|
75d7104670 | ||
|
|
db1bd2e819 | ||
|
|
fd775091b5 | ||
|
|
3de78c2f6b | ||
|
|
7f42ceff35 | ||
|
|
88782afbfd | ||
|
|
e52743c051 | ||
|
|
1af9ede5ff |
@@ -84,6 +84,9 @@ neither.
|
||||
added, disabled or removed without a restart. See [Multiple users](#multiple-users).
|
||||
- **Reload without restart** on `SIGHUP` (`systemctl reload`). See
|
||||
[Reloading the configuration](#reloading-the-configuration).
|
||||
- **Web dashboard** to manage users and server settings, watch usage and
|
||||
activity, and share agent configs and `nipovpn://` links with QR codes. See
|
||||
[Dashboard](#dashboard).
|
||||
- **Warning when the public sample token is still in use.**
|
||||
- **Log levels** `INFO`, `TRACE` (per-request source/destination) and `DEBUG`;
|
||||
logs go to a file and to stdout.
|
||||
@@ -135,10 +138,12 @@ Browser/app ──HTTP or SOCKS5──▶ Agent ──decoy HTTP(S)──▶ Ser
|
||||
| Platform | How |
|
||||
|---|---|
|
||||
| Debian / Ubuntu (amd64, arm64) | `.deb` from the [releases page](https://github.com/MortezaBashsiz/nipovpn/releases), tested on Ubuntu 24.04 |
|
||||
| Arch Linux | [AUR package](https://aur.archlinux.org/packages/nipovpn) |
|
||||
| Build from source on Linux | [Linux build guide](guides/BuildLinux.md) |
|
||||
| Docker | [Docker guide](guides/Docker.md) |
|
||||
| Nix / NixOS | [Nix guide](guides/Nix.md) |
|
||||
| Termux | [Termux guide](guides/InstallTermux.md) |
|
||||
| Dashboard (web page to manage the server) | [nipovpn-dashboard](https://github.com/MortezaBashsiz/nipovpn-dashboard) |
|
||||
| Windows (x86_64) | zip from the [releases page](https://github.com/MortezaBashsiz/nipovpn/releases) (`windows-v*` tags) |
|
||||
| Android | [nipovpn-android](https://github.com/MortezaBashsiz/nipovpn-android) |
|
||||
|
||||
@@ -159,6 +164,35 @@ sudo systemctl enable --now nipovpn-server.service # on the server
|
||||
sudo systemctl enable --now nipovpn-agent.service # on the agent machine
|
||||
```
|
||||
|
||||
### Arch Linux
|
||||
|
||||
Install NipoVPN from the AUR using your preferred AUR helper:
|
||||
|
||||
```bash
|
||||
paru -S nipovpn
|
||||
```
|
||||
|
||||
Or build and install it manually:
|
||||
|
||||
```bash
|
||||
git clone https://aur.archlinux.org/nipovpn.git
|
||||
cd nipovpn
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
The package installs:
|
||||
|
||||
- `/usr/bin/nipovpn`
|
||||
- `/etc/nipovpn/config.yaml`
|
||||
- `nipovpn-server.service` and `nipovpn-agent.service`
|
||||
|
||||
```bash
|
||||
sudo systemctl enable --now nipovpn-server.service # on the server
|
||||
sudo systemctl enable --now nipovpn-agent.service # on the agent machine
|
||||
```
|
||||
|
||||
See the [AUR package page](https://aur.archlinux.org/packages/nipovpn) for package details.
|
||||
|
||||
### From source
|
||||
|
||||
Requirements: a C++20 compiler, CMake ≥ 3.22, Boost ≥ 1.88, yaml-cpp ≥ 0.8 and
|
||||
@@ -443,6 +477,16 @@ them, the reload logs `... changed but needs a restart`. Certificate files are
|
||||
read for every new connection, so a renewed certificate needs no reload at
|
||||
all. Reload is not available on Windows.
|
||||
|
||||
## Dashboard
|
||||
|
||||
[NipoVPN Dashboard](https://github.com/MortezaBashsiz/nipovpn-dashboard) is a
|
||||
separate web dashboard that runs beside the server. It adds, edits, disables
|
||||
and deletes users, changes server settings, shows usage and activity, and shares
|
||||
agent configs and `nipovpn://` links with QR codes. It works by editing
|
||||
`config.yaml` and reloading the server, so it needs nothing from the server
|
||||
beyond what is described above. It has its own Debian package,
|
||||
`nipovpn-dashboard`; see its README for setup.
|
||||
|
||||
## Security notes
|
||||
|
||||
- **Change the token.** The sample token is public; the program logs a warning
|
||||
|
||||
Reference in new issue
Block a user