forked from I2P_Developers/i2p.i2p
* 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:
22
installer/java/src/i2ptunnel.config
Normal file
22
installer/java/src/i2ptunnel.config
Normal 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
|
@ -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
|
||||
|
Reference in New Issue
Block a user