forked from I2P_Developers/i2p.i2p
Tunnels: Cleanup, catch more cases of zero-hop configuration ClientAppConfig: Start i2ptunnel sooner Since BuildRequestor won't use a zero-hop exploratory as a paired tunnel for client builds, it's now safe to start client tunnels before the expl. tunnels are ready. This will save up to 90 seconds.
71 lines
2.6 KiB
Plaintext
71 lines
2.6 KiB
Plaintext
# NOTE: This I2P config file must use UTF-8 encoding
|
|
#
|
|
# If you have a 'split' directory installation, with configuration
|
|
# files in ~/.i2p (Linux) or %APPDATA%\I2P (Windows), be sure to
|
|
# edit the file in the configuration directory, NOT the install directory.
|
|
# When running as a Linux daemon, the configuration directory is /var/lib/i2p
|
|
# and the install directory is /usr/share/i2p .
|
|
#
|
|
|
|
# fire up the web console
|
|
## There are several choices, here are some examples:
|
|
## non-SSL, bind to local IPv4 only
|
|
#clientApp.0.args=7657 127.0.0.1 ./webapps/
|
|
## non-SSL, bind to local IPv6 only
|
|
#clientApp.0.args=7657 ::1 ./webapps/
|
|
## non-SSL, bind to all IPv4 addresses
|
|
#clientApp.0.args=7657 0.0.0.0 ./webapps/
|
|
## non-SSL, bind to all IPv6 addresses
|
|
#clientApp.0.args=7657 :: ./webapps/
|
|
## For SSL only, change clientApp.4.args below to https://
|
|
## SSL only
|
|
#clientApp.0.args=-s 7657 ::1,127.0.0.1 ./webapps/
|
|
## non-SSL and SSL
|
|
#clientApp.0.args=7657 ::1,127.0.0.1 -s 7667 ::1,127.0.0.1 ./webapps/
|
|
## non-SSL only, both IPv6 and IPv4 local interfaces
|
|
clientApp.0.args=7657 ::1,127.0.0.1 ./webapps/
|
|
clientApp.0.main=net.i2p.router.web.RouterConsoleRunner
|
|
clientApp.0.name=I2P Router Console
|
|
clientApp.0.onBoot=true
|
|
clientApp.0.startOnLoad=true
|
|
|
|
# SAM bridge
|
|
clientApp.1.main=net.i2p.sam.SAMBridge
|
|
clientApp.1.name=SAM application bridge
|
|
clientApp.1.args=sam.keys 127.0.0.1 7656 i2cp.tcp.host=127.0.0.1 i2cp.tcp.port=7654
|
|
clientApp.1.startOnLoad=false
|
|
|
|
# poke the i2ptunnels defined in i2ptunnel.config
|
|
clientApp.2.main=net.i2p.i2ptunnel.TunnelControllerGroup
|
|
clientApp.2.name=Application tunnels
|
|
clientApp.2.args=i2ptunnel.config
|
|
clientApp.2.delay=35
|
|
clientApp.2.startOnLoad=true
|
|
|
|
# run our own eepsite with a seperate jetty instance
|
|
clientApp.3.main=net.i2p.jetty.JettyStart
|
|
clientApp.3.name=I2P webserver (eepsite)
|
|
## To use the rewrite handler, edit jetty-rewrite.xml and use:
|
|
#clientApp.3.args="/path/to/jetty.xml" "/path/to/jetty-rewrite.xml"
|
|
## To use local SSL, edit jetty-ssl.xml and use:
|
|
#clientApp.3.args="/path/to/jetty.xml" "/path/to/jetty-ssl.xml"
|
|
## To use local or remote JMX, edit jetty-jmx.xml and use:
|
|
#clientApp.3.args="/path/to/jetty.xml" "/path/to/jetty-jmx.xml"
|
|
clientApp.3.args="eepsite/jetty.xml"
|
|
clientApp.3.delay=30
|
|
clientApp.3.startOnLoad=true
|
|
|
|
# load a browser pointing at the web console whenever we start up
|
|
clientApp.4.main=net.i2p.apps.systray.UrlLauncher
|
|
clientApp.4.name=Open Router Console in web browser at startup
|
|
clientApp.4.args=http://127.0.0.1:7657/
|
|
clientApp.4.delay=3
|
|
clientApp.4.startOnLoad=true
|
|
|
|
# BOB bridge
|
|
clientApp.5.args=
|
|
clientApp.5.delay=10
|
|
clientApp.5.main=net.i2p.BOB.BOB
|
|
clientApp.5.name=BOB application bridge
|
|
clientApp.5.startOnLoad=false
|