summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/README
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-26 00:27:46 +0000
committerd3v11 <d3v11@d3v11.ano>2011-11-26 00:27:46 +0000
commit6aaa07d374fbe07a0c1952f88487b4fc848d41de (patch)
treef39980a4c997b9d3bcc811f4ebec5ac146814750 /contrib/peer2anonet/README
parent8e4a98fc3b28c5a07df516f88ccee3cc79af4048 (diff)
downloadresdb-6aaa07d374fbe07a0c1952f88487b4fc848d41de.tar.gz
resdb-6aaa07d374fbe07a0c1952f88487b4fc848d41de.zip
updated peer2anonet stuff
Diffstat (limited to 'contrib/peer2anonet/README')
-rw-r--r--contrib/peer2anonet/README40
1 files changed, 36 insertions, 4 deletions
diff --git a/contrib/peer2anonet/README b/contrib/peer2anonet/README
index ba98280..8b8eacf 100644
--- a/contrib/peer2anonet/README
+++ b/contrib/peer2anonet/README
@@ -23,10 +23,42 @@ USAGE:
NOTES:
- peer2anonet exports the /service/$PEER/run file to
- /etc/peer2anonet/peers/$PEER/run. If you need to
- create customizations for peerings then make adjustments
- to that file.
+ KEY PAIRS:
+
+ before running peer2anonet to configure peers you can use
+ quicktun to generate keypairs:
+
+ quicktun.keypair</dev/random
+
+ RUN CHANGES:
+
+ peer2anonet exports the /service/$PEER/run file to
+ /etc/peer2anonet/peers/$PEER/run. If you need to
+ create customizations for peerings then make adjustments
+ to that file.
+
+ EXAMPLES:
+
+ ./peer2anonet --configure
+
+ Enter your AnoNet subnet: 1.2.3.0
+ Enter your AnoNet router: 1.2.3.1
+ Enter your peering ip: 1.2.3.4
+ Enter your AnoNet asn: 1234
+
+
+ ./peer2anonet --configure-peer
+
+ Enter your peer's name: d3v11
+ Enter your peer's remote ip: 11.11.55.1
+ Enter your peer's peering ip: 1.1.5.2
+ Enter your peer's remote port: 201150
+ Enter your peer's asn: 1150
+ Enter your peer's public key: * see keypairs above *
+ Enter your private key: * see keypairs above *
+
+ # peer2anonet uses the following for port configurations:
+ LOCAL_PORT=20${PEERASN:0:4}