Added SILC Thread Queue API
[crypto.git] / doc / examples / cell_router.conf
1 #
2 # Standalone router
3 # 212.146.24.253 on 1334
4 #
5 # This is the only router in this cell, which means that the router is
6 # standalone and the router does not have primary route.
7 #
8
9 Include "silcalgs.conf";
10
11 General {
12         key_exchange_rekey = 30;
13         #key_exchange_pfs = true;
14 };
15
16 ServerInfo {
17         hostname = "lassi.kuo.fi.ssh.com";
18         primary { ip = "212.146.42.253"; port = 1334; };
19
20         user = "nobody";
21         group = "nobody";
22
23         servertype = "Test Router";
24         location = "Undisclosed location";
25         Admin = "Pekka Riikonen";
26         AdminEmail = "priikone@silcnet.org";
27
28         publickey = "./silcd.pub";
29         privatekey = "./silcd.prv";
30
31         motdfile = "./motd";
32 };
33
34 Logging {
35         quicklogs = true;
36         info { file = "cell_router.log"; };
37 };
38
39 # Router administrator
40 Admin {
41         user = "priikone";
42         passphrase = "testi";
43 };
44
45 ##############################################################################
46 #
47 # Accept all client connections without authentication
48 #
49 Client { };
50
51 ##############################################################################
52 #
53 # These servers use me as primary router.  They are normal servers in the
54 # cell.
55 #
56 ServerConnection {
57         host = "212.146.42.251";
58         passphrase = "priikone";
59 };
60
61 ServerConnection {
62         host = "212.146.42.250";
63         passphrase = "priikone";
64 };
65
66 ##############################################################################
67 #
68 # This server is our backup router (it will replace me if I go down).  It
69 # also can act as normal server in the cell.
70 #
71 RouterConnection {
72         host = "212.146.42.252";
73         passphrase = "priikone";
74
75         # Mark that this local backup router replaces us
76         backuphost = "212.146.42.253";
77         backupport = 1334;
78         backuplocal = true;
79 };