router: add web UI for managing bypass/direct route lists
Python web API (route-web-api.py) on port 80 for adding domains to
egw bypass or dgw direct lists. Runs as unprivileged routeweb user,
list files are picked up by route-update.sh via symlinks.
Features:
- Add/remove/move domains between bypass and direct lists
- Auto-remove from other list when adding (mutual exclusion)
- "No rule" button to remove from input field
- Active routes section showing all applied rules from route-update
- Last update timestamp from all-routes.json mtime
route-update.sh: generate_web_json() exports all list entries
as JSON for the web UI after each run.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
router/route-web-api.py
0 → 100644
This diff is collapsed.
Click to expand it.
router/route-web-api.service
0 → 100644
Please
register
or
sign in
to comment