5 [<servername> - <clientaddr>]
7 [<servername>] usually [SERVER]
10 Keys are looked up in that order.
11 <client> is the client's virtual address.
12 <servername> must not look like an address.
17 Specifies <servername>.
18 Is looked up in [SERVER] and [DEFAULT] only.
19 If not specified there, it is SERVER.
21 Used by server to select the appropriate parts of the
22 rest of the configuration. Ignored by the client.
25 Looked up in the usual way, but used by client and server to
26 determine which possible peerings to try to set up, and which to
29 We define the sets of putative clients and servers, as follows:
30 all those, for which there is any section (even an empty one)
31 whose name is based on <client> or <servername> (as applicable).
33 The server queue packets for, and accept requests from, each
34 putative client for which the config search yields a password.
36 Each client will create a local interface, and try to communicate
37 with the server, for each possible pair (putative server,
38 putative client) for which the config search yields a password.
42 Values in <servername> are a cap (maximum) on those from the
43 other sections (including DEFAULT):
46 Size limit for response payloads (server only) [65536 bytes]
49 Discard downwards packets after this long (server only) [10 s]
52 (On server) return with empty payload any http request oustanding
54 (On client) give up on any http request outstanding for
55 for this long plus http_timeout_grace
56 Client's effective timeout must be at least server's (checked).
59 target_requests_outstanding
60 (On server) whenever number of outstanding requests for
61 a client exceeds this, return oldest with empty payload
62 (On client) try to keep this many requests outstanding.
63 Must match between client and server (checked). [3]
65 Ordinary settings, used by client and server:
68 Command to run to create and communicate with local network
69 interface. Passed to sh -c. Must speak SLIP on stdin/stdout.
70 The following additional interpolations aare substituted:
71 %(local)s %(peer)s %(rnet)s
72 on server <vaddr> <vrelay> <vnetwork>
73 on client <client> <vaddr> <vroutes>
74 ["userv root ipif %(local)s,%(peer)s,%(mtu)s,slip %(rnets)s"]
77 Public IP (v4 or v6) address(es) of the server;
79 (On server) mandatory; used for bind. No default.
80 (On client) used only to construct default url.
83 Private network range (<prefix>/<length>). Must contain all
84 <client>s. Must contain <vaddr> and <vrelay>, and used
85 to compute their defaults. [172.24.230.192/28]
88 Address of server's virtual interface.
91 Virtual point-to-point address used for tunnel routing
92 (does not appear in packets).
93 [first host entry in <vnetwork> other than <vaddr>,
97 Public port number of the server. [80]
98 (On server) used for bind.
99 (On client) used only to construct default url.
102 Must match exactly. (checked) [1500 bytes]
104 Ordinary settings, used by client only:
107 See http_timeout. [5 s]
109 max_requests_outstanding
110 Client will hold off sending more requests than this to
111 server even if it has data to send. [6]
114 Size limit for request payloads. [4000 bytes]
117 If a request fails, wait this long before considering it
118 "finished" - to limit rate of futile requests. [5 s]
121 Public url of server.
122 [http://<first-entry-in-addrs>:<port>/]
125 Virtual addresses (in CIDR syntax) to be found at the server
126 end, space-separated. Routes to those will be created on