From 79b260db495e94430d499906f321dc022c68fec1 Mon Sep 17 00:00:00 2001 From: ficus Date: Tue, 25 Sep 2012 15:59:18 +0200 Subject: basic tor control (needs testing) --- torouterui/templates/tor.html | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'torouterui/templates/tor.html') diff --git a/torouterui/templates/tor.html b/torouterui/templates/tor.html index a1f30dc..327ac59 100644 --- a/torouterui/templates/tor.html +++ b/torouterui/templates/tor.html @@ -5,9 +5,32 @@
Tor Network Configuration -{{ lib.formcheckbox(form, formerr, 'torenable', 'Enable Tor daemon', 'true') }} -{{ lib.formcheckbox(form, formerr, 'torrelayenable', 'Enable Tor Relay', 'true') }} -{{ lib.formcheckbox(form, formerr, 'torbridgeenable', 'Enable Tor Bridge', 'true') }} +{{ lib.formcheckbox(form, formerr, 'tor_enable', 'Enable Tor daemon', 'true') }} + +{{ lib.forminput(form, formerr, 'tor_sockslistenaddress', 'SOCKS Proxy Listen Address', '127.0.0.1:9050') }} +{{ lib.forminput(form, formerr, 'tor_virtualaddrnetwork', 'Virtual Address Network', '192.168.0.0/16') }} +{{ lib.forminput(form, formerr, 'tor_translistenaddress', 'Trans Listen Address', '127.0.0.1:9040') }} +{{ lib.forminput(form, formerr, 'tor_dnslistenaddress', 'DNS Listen Address', '127.0.0.1:5353') }} + +Exit Node Configuration +{{ lib.formcheckbox(form, formerr, 'tor_exitnodeenable', 'Enable Exit Node', 'true') }} + +Relay Configuration + + + + +{{ lib.forminput(form, formerr, 'tor_relaybandwidthrateKBps', 'Relay Node Bandwidth (KB/sec)', '50') }} +{{ lib.forminput(form, formerr, 'tor_relaybandwidthburstKBps', 'Relay Node Burst Bandwidth (KB/sec)', '75') }}
-- cgit v1.2.3