Torouter basic Web UI for OpenWRT
Started building a Torouter GUI for OpenWRT. See attached source files and screenshot. This is just the first step in integrating with the OpenWRT config schema (/etc/config/*).
The UI should use common OpenWRT practices such as depending on /etc/config/torouter so that the UI model and uci configuration model are seamless. The UI will also need to edit the /etc/firewall.user and /etc/config/firewall sections relevant to torouter.
To modify the /etc/tor/torrc the init script /etc/init.d/torouter is used. This script uses /etc/config/torouter values to determine defined interface and firewall zone. At the moment it only modifies /etc/firewall.user. This should be extended to integrate with /etc/config/firewall as well. OR, maybe we leave the firewall rules to some instillation script?
Trac:
Username: cyphunk