Native install: nftables script for VPN clients (masquerade, MSS clamp, TTL)
deploy/native/firewall.sh reads the server interfaces and applies, for traffic from the VPN network to all other networks: masquerade, TCP MSS clamping (path MTU tuning) and TTL tuning, in its own table `ip ovpmon`. Rules are persisted in /etc/ovpmon/nftables.nft and loaded at boot by the ovpmon-nft service (systemd and OpenRC). Opt-in: install.sh and update.sh do not call it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8371d889a4
commit
f95a0b63e6
9 files changed
+713
-3
No files matched your search
@@ -15,6 +15,7 @@ Nginx is the only public entry point: `/` UI, `/api/` Monitoring API, `/profiles
|
||||
|
||||
- **Containers:** `deploy/docker/install.sh --variant a|b`, open `http://<host>`. Details: [Scenario 1: containers](DOCS/Deployment/Scenario1_Containers.md) (update, backup, rollback included).
|
||||
- **System services** (Alpine/OpenRC, Debian and Ubuntu/systemd, no containers): `deploy/native/install.sh --prefix DIR` (the install directory is always asked for; the checkout is only the source; the web UI is installed from `deploy/ui-dist` of the repository); details, update and rollback: [Scenario 2: system services](DOCS/Deployment/Scenario2_System_Services.md).
|
||||
- **NAT, MSS and TTL for the VPN clients** (nftables, optional): `deploy/native/firewall.sh [--dry-run]` reads the interfaces of the server and sets masquerade, TCP MSS clamping and TTL for traffic from the VPN network to all other networks; see [Firewall, NAT and forwarding](DOCS/Deployment/Scenario2_System_Services.md#firewall-nat-and-forwarding).
|
||||
|
||||
After the first start: sign in, open **PKI Configuration** → **Initialize PKI**, generate the server config, start OpenVPN, create profiles.
|
||||
|
||||
@@ -68,6 +69,7 @@ No default user is created. Seed the initial admin with `OVPMON_INITIAL_ADMIN_US
|
||||
| 2026-10-05 | Database migrations with backup, integrity checks and downgrade protection; standalone `migrate.py` (phase 1 of install/update scenarios) | [Database migrations](DOCS/Changes/2026-10-05_DB_Migrations.md) |
|
||||
| 2026-10-05 | Scenario 1: container install and update, variant A (one container) and B (per component); backup, restore, automatic rollback | [Scenario 1: containers](DOCS/Deployment/Scenario1_Containers.md) · [change](DOCS/Changes/2026-10-05_Scenario1_Containers.md) |
|
||||
| 2026-10-05 | Scenario 2: install and update as system services on Alpine, Debian, Ubuntu; helper config for systemd; backup, restore, automatic rollback | [Scenario 2: system services](DOCS/Deployment/Scenario2_System_Services.md) · [change](DOCS/Changes/2026-10-05_Scenario2_System_Services.md) |
|
||||
| 2026-10-05 | nftables script for system-service installs: masquerade, TCP MSS clamping (path MTU) and TTL for traffic from the VPN network to all other networks; boot service | [Firewall, NAT and forwarding](DOCS/Deployment/Scenario2_System_Services.md#firewall-nat-and-forwarding) · [plan](DOCS/Changes/2026-10-05_NFT_Firewall_PLAN.md) · [change](DOCS/Changes/2026-10-05_NFT_Firewall.md) |
|
||||
|
||||
## Notes
|
||||
|
||||
|
||||
Reference in new issue
Block a user