* add a main() to TunnelControllerGroup which can be used as a clientApp.*

* new config property to have a tunnel start on load (default=true), so tunnels, er, start on load
* use i2ptunnel.config instead of i2ptunnel.cfg (for consistency)
* minor refactoring
This commit is contained in:
jrandom
2004-08-14 02:03:45 +00:00
committed by zzz
parent c18fc1984d
commit 9cc96f45d0
7 changed files with 93 additions and 16 deletions

View File

@ -0,0 +1,22 @@
tunnel.0.description=HTTP proxy for browsing eepsites and the web
tunnel.0.i2cpHost=localhost
tunnel.0.i2cpPort=7654
tunnel.0.interface=127.0.0.1
tunnel.0.listenPort=4444
tunnel.0.name=eepProxy
tunnel.0.option.tunnels.depthInbound=2
tunnel.0.option.tunnels.numInbound=2
tunnel.0.proxyList=squid.i2p
tunnel.0.startOnLoad=true
tunnel.0.type=httpclient
tunnel.1.description=IRC proxy to access the anonymous irc net
tunnel.1.i2cpHost=localhost
tunnel.1.i2cpPort=7654
tunnel.1.interface=127.0.0.1
tunnel.1.listenPort=6668
tunnel.1.name=ircProxy
tunnel.1.option.tunnels.depthInbound=2
tunnel.1.option.tunnels.numInbound=2
tunnel.1.startOnLoad=true
tunnel.1.targetDestination=irc.duck.i2p
tunnel.1.type=client

View File

@ -148,6 +148,14 @@ clientApp.1.args=-nocli -e "config localhost ##_router_i2cp_port##" -e "httpclie
# -e "listen_on 0.0.0.0"
# before the -e "httpclient 4444". otherwise, both of these proxies will only listen for connections on 127.0.0.1
# The following three lines replace the clientApp.1.* lines above, for use with the new router console.
# It loads up all of the tunnels (2 minutes later, giving the router time to boot), and starts any defined with
# startOnLoad. It can be further controlled at http://localhost:7657/i2ptunnel/
#
#clientApp.1.main=net.i2p.i2ptunnel.TunnelControllerGroup
#clientApp.1.name=Tunnels
#clientApp.1.args=i2ptunnel.config
# New router console webapp, driven by Jetty
# to use, you must mkdir ./webapps/ and place the routerconsole.war file in there,
# and add jetty-all.jar and routerconsole.jar in the router's classpath in the startRouter