Updated Using i2pd (markdown)

l-n-s
2016-09-02 19:10:32 +00:00
parent 7e1282200b
commit d47937e564

@@ -27,42 +27,52 @@ Big list of Invisible Internet websites can be found at [identiguy.i2p](http://i
If you wish to run your own website in Invisible Internet, follow those steps: If you wish to run your own website in Invisible Internet, follow those steps:
1) Run your webserver and find out which port it uses (for example, 8080). 1) Run your webserver and find out which host:port it uses (for example, 127.0.0.1:8080).
2) Configure i2pd to create HTTP server tunnel. Put in your ~/.i2pd/tunnels.conf file: 2) Configure i2pd to create HTTP server tunnel. Put in your ~/.i2pd/tunnels.conf file:
[http-in] [anon-website]
type = http type = http
host = ourwebsite.com host = 127.0.0.1
port = 8080 port = 8080
keys = our-website.dat keys = anon-website.dat
3) Find b32 destination of your website. 3) Restart i2pd.
Go to webconsole -> [I2P tunnels page](http://127.0.0.1:7070/?page=i2p_tunnels). Look for Sever tunnels, http-in and you will see address like \<long random string\>.b32.i2p 4) Find b32 destination of your website.
Go to webconsole -> [I2P tunnels page](http://127.0.0.1:7070/?page=i2p_tunnels). Look for Sever tunnels and you will see address like \<long random string\>.b32.i2p next to anon-website.
Website is now available in Invisible Internet by visiting this address. Website is now available in Invisible Internet by visiting this address.
4) (Optional) Register short and rememberable .i2p domain on [inr.i2p](http://inr.i2p). 5) (Optional) Register short and rememberable .i2p domain on [inr.i2p](http://inr.i2p).
## Using and hosting chat servers ## Using and hosting chat servers
### Running anonymous IRC server ### Running anonymous IRC server
This is just a server tunnel for IRC, if your IRC server doesn't support WebIRC. Put it in ~/.i2pd/tunnels.conf 1) Run your IRC server software and find out which host:port it uses (for example, 127.0.0.1:5555).
[walker] For small private IRC servers you can use [miniircd](https://github.com/jrosdahl/miniircd), for large public networks [UnreadIRCd](https://www.unrealircd.org/).
2) Configure i2pd to create IRC server tunnel.
Simplest case, if your server does not support WebIRC, add this to ~/.i2pd/tunnels.conf:
[anon-chatserver]
type = irc type = irc
host = 127.0.0.1 <--- IRC server address host = 127.0.0.1
port = 5555 <--- IRC server port port = 5555
keys = walker-key.dat keys = chatserver-key.dat
But if your IRC server supports WebIRC, for example, UnreadIRCd, put this into UnrealIRCd config: And that is it.
Alternatively, if your IRC server supports WebIRC, for example, UnreadIRCd, put this into UnrealIRCd config:
webirc { webirc {
mask 127.0.0.1; mask 127.0.0.1;
password <your_password>; // no <> brackets around password! password your_password;
}; };
Also change line: Also change line:
@@ -73,27 +83,35 @@ to
modes-on-connect "+iw"; modes-on-connect "+iw";
And this in ~/.i2pd/tunnels.conf And this in ~/.i2pd/tunnels.conf:
[walker] [anon-chatserver]
type = irc type = irc
host = 127.0.0.1 host = 127.0.0.1
port = 5555 <--- UnrealIRCd listen port port = 5555
keys = walker-key.dat keys = chatserver-key.dat
webircpassword = your_password <---- your WebIRC password webircpassword = your_password
### Connect to anonymous IRC chat 3) Restart i2pd.
To connect to IRC server at *walker.i2p*, use similar tunnel config: 4) Find b32 destination of your anonymous IRC server.
Go to webconsole -> [I2P tunnels page](http://127.0.0.1:7070/?page=i2p_tunnels). Look for Sever tunnels and you will see address like \<long random string\>.b32.i2p next to anon-chatserver.
Clients will use this address to connect to your server anonymously.
### Connect to anonymous IRC server
To connect to IRC server at *walker.i2p*, add this to ~/.i2pd/tunnels.conf:
[IRC2] [IRC2]
type=client type = client
address=127.0.0.1 address = 127.0.0.1
port=6669 port = 6669
destination=walker.i2p destination = walker.i2p
#keys = walker-keys.dat #keys = walker-keys.dat
Then connect to irc://127.0.0.1:6669 with your IRC client. Restart i2pd, then connect to irc://127.0.0.1:6669 with your IRC client.
## File sharing ## File sharing