You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(menu): reorganise menu layout for first-time user workflow
Renumber all options to reflect logical setup order: First-Time Setup
(1-6), Instance Management (i/l), Server Configuration (7-9/s),
Firewall (10-11), Client Certificates (12-17/r), VPN Profiles (18-19),
Monitoring & Diagnostics (20-22), exit via x.
Remove p) letter option — configure performance is a numbered step (9)
not a cross-cutting operation. Update README, integration tests, and
sexpect_helper quit_script to send x instead of old option 20.
| Security | Strong — equivalent to RSA 3072+ | Strong at 2048-bit |
244
244
245
-
To use RSA instead, edit the `OVPN_CRYPTO_ALGO` variable at the top of the script before running Step 3, or use Menu Option `k) Configure cryptography settings`. Once the PKI is initialized the algorithm cannot be changed without re-initializing (which revokes all existing certificates).
245
+
To use RSA instead, edit the `OVPN_CRYPTO_ALGO` variable at the top of the script before running Step 3, or use Menu Option `2) Configure cryptography settings`. Once the PKI is initialized the algorithm cannot be changed without re-initializing (which revokes all existing certificates).
246
246
247
247
**Important:** This step takes several minutes for RSA (DH generation). EC completes significantly faster.
248
248
249
249
### Step 4: Auto-Detect Server Settings
250
250
251
-
**Menu Option: 0**
251
+
**Menu Option: 4**
252
252
253
253
```
254
-
0) Auto-Detect server settings
254
+
4) Auto-detect server settings
255
255
```
256
256
257
257
This automatically detects:
@@ -262,7 +262,7 @@ This automatically detects:
262
262
263
263
Review the detected settings. The script will use these for configuration generation.
264
264
265
-
**Note:** IPv6 support is disabled by default. If you want to enable IPv6 for your VPN, use Menu Option 3 after reviewing the auto-detected IPv6 settings (Step 5 below).
265
+
**Note:** IPv6 support is disabled by default. If you want to enable IPv6 for your VPN, use Menu Option 8 after reviewing the auto-detected IPv6 settings (Step 5 below).
266
266
267
267
**DDNS Support:**
268
268
@@ -272,18 +272,18 @@ The auto-detect feature will automatically detect your DDNS hostname if configur
272
272
1. Follow the official OpenWrt DDNS guide: https://openwrt.org/docs/guide-user/services/ddns/client
273
273
2. Configure your DDNS service provider in LuCI or UCI
274
274
3. Verify DDNS is working: `nslookup your-hostname.dyndns.org`
275
-
4. Run this script's auto-detect (Option 0) - it will automatically use your DDNS hostname
275
+
4. Run this script's auto-detect (Option 4) - it will automatically use your DDNS hostname
276
276
277
277
If DDNS is not configured, the script will fall back to using your current WAN IP address.
**Note:** IPv6 is disabled by default to avoid configuration conflicts. Only enable if you understand IPv6 networking and have verified your router has proper IPv6 prefix delegation from your ISP.
282
282
283
-
**Menu Option: 3**
283
+
**Menu Option: 8**
284
284
285
285
```
286
-
3) Toggle IPv6 support (Currently: no)
286
+
8) Toggle IPv6 support (Currently: no)
287
287
Enable IPv6 support? (yes/no): yes
288
288
289
289
Select IPv6 mode:
@@ -302,10 +302,10 @@ Enter max clients limit (default 253): 100
Install the file manager via menu option 13, then navigate to System → File Browser
502
+
Install the file manager via menu option 6, then navigate to System → File Browser
503
503
504
504
### Step 11: Connect Your Client
505
505
@@ -557,13 +557,13 @@ One the client device (the laptop or mobile device) open a browser while the VPN
557
557
- Shows instance status, config file path, and running state
558
558
559
559
## LuCI Integration
560
-
- Install `luci-app-openvpn` and `luci-app-filemanager` with one command (menu option 13)
560
+
- Install `luci-app-openvpn` and `luci-app-filemanager` with one command (menu option 6)
561
561
- Automatic package installation using `apk` (OpenWRT 25+) or `opkg` (older versions)
562
562
- Changes made in LuCI web interface appear in this script and vice versa
563
563
564
564
### Viewing VPN Tunnel in LuCI
565
565
566
-
After running **Menu Option 15** (Configure VPN firewall access), the VPN tunnel interface will appear in LuCI:
566
+
After running **Menu Option 11** (Configure VPN firewall access), the VPN tunnel interface will appear in LuCI:
567
567
568
568
**Location:** LuCI → Network → Interfaces
569
569
@@ -588,10 +588,10 @@ After running **Menu Option 15** (Configure VPN firewall access), the VPN tunnel
588
588
**Important:** The `vpn` interface is managed by OpenVPN. Don't edit it directly in LuCI - use this script (Menu Options) or edit `/etc/openvpn/server.conf` instead.
589
589
590
590
**Troubleshooting:** If VPN interface doesn't appear in LuCI:
591
-
1. Run Menu Option 15 to create UCI network interface
591
+
1. Run Menu Option 11 to create UCI network interface
0 commit comments