comparison contrib/peer2anonet/README @ 777:b13bf8dc2c0c draft

updated peer2anonet stuff
author d3v11 <d3v11@d3v11.ano>
date Sat, 26 Nov 2011 00:27:46 +0000
parents cc3ed3f29ec7
children 150043713880
comparison
equal deleted inserted replaced
776:cc3ed3f29ec7 777:b13bf8dc2c0c
21 21
22 --install-djbdns installs djbdns 22 --install-djbdns installs djbdns
23 23
24 NOTES: 24 NOTES:
25 25
26 peer2anonet exports the /service/$PEER/run file to 26 KEY PAIRS:
27 /etc/peer2anonet/peers/$PEER/run. If you need to 27
28 create customizations for peerings then make adjustments 28 before running peer2anonet to configure peers you can use
29 to that file. 29 quicktun to generate keypairs:
30
31 quicktun.keypair</dev/random
32
33 RUN CHANGES:
34
35 peer2anonet exports the /service/$PEER/run file to
36 /etc/peer2anonet/peers/$PEER/run. If you need to
37 create customizations for peerings then make adjustments
38 to that file.
39
40 EXAMPLES:
41
42 ./peer2anonet --configure
43
44 Enter your AnoNet subnet: 1.2.3.0
45 Enter your AnoNet router: 1.2.3.1
46 Enter your peering ip: 1.2.3.4
47 Enter your AnoNet asn: 1234
48
49
50 ./peer2anonet --configure-peer
51
52 Enter your peer's name: d3v11
53 Enter your peer's remote ip: 11.11.55.1
54 Enter your peer's peering ip: 1.1.5.2
55 Enter your peer's remote port: 201150
56 Enter your peer's asn: 1150
57 Enter your peer's public key: * see keypairs above *
58 Enter your private key: * see keypairs above *
59
60 # peer2anonet uses the following for port configurations:
61 LOCAL_PORT=20${PEERASN:0:4}
30 62
31 63
32 64
33 65