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:
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 \<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.
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 <your_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 \<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]
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