From d47937e5647226ef1abb3119bfa808612d142d79 Mon Sep 17 00:00:00 2001 From: l-n-s Date: Fri, 2 Sep 2016 19:10:32 +0000 Subject: [PATCH] Updated Using i2pd (markdown) --- Using-i2pd.md | 70 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 26 deletions(-) diff --git a/Using-i2pd.md b/Using-i2pd.md index f78b384..7b225c2 100644 --- a/Using-i2pd.md +++ b/Using-i2pd.md @@ -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: -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: - [http-in] + [anon-website] type = http - host = ourwebsite.com + host = 127.0.0.1 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 \.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 \.b32.i2p next to anon-website. 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 ### 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 - host = 127.0.0.1 <--- IRC server address - port = 5555 <--- IRC server port - keys = walker-key.dat + host = 127.0.0.1 + port = 5555 + 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 { mask 127.0.0.1; - password ; // no <> brackets around password! + password your_password; }; Also change line: @@ -73,27 +83,35 @@ to modes-on-connect "+iw"; -And this in ~/.i2pd/tunnels.conf +And this in ~/.i2pd/tunnels.conf: - [walker] + [anon-chatserver] type = irc host = 127.0.0.1 - port = 5555 <--- UnrealIRCd listen port - keys = walker-key.dat - webircpassword = your_password <---- your WebIRC password + port = 5555 + keys = chatserver-key.dat + 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 \.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] - type=client - address=127.0.0.1 - port=6669 - destination=walker.i2p + type = client + address = 127.0.0.1 + port = 6669 + destination = walker.i2p #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