ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/doc/gvpe.conf.5
(Generate patch)

Comparing gvpe/doc/gvpe.conf.5 (file contents):
Revision 1.16 by pcg, Mon Dec 5 12:58:06 2005 UTC vs.
Revision 1.21 by pcg, Sun Aug 10 22:18:58 2008 UTC

1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14 1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
2.\" 2.\"
3.\" Standard preamble: 3.\" Standard preamble:
4.\" ======================================================================== 4.\" ========================================================================
5.de Sh \" Subsection heading 5.de Sh \" Subsection heading
6.br 6.br
23.ft R 23.ft R
24.fi 24.fi
25.. 25..
26.\" Set up some character translations and predefined strings. \*(-- will 26.\" Set up some character translations and predefined strings. \*(-- will
27.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left 27.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28.\" double quote, and \*(R" will give a right double quote. | will give a 28.\" double quote, and \*(R" will give a right double quote. \*(C+ will
29.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to 29.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
30.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' 30.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
31.\" expand to `' in nroff, nothing in troff, for use with C<>. 31.\" nothing in troff, for use with C<>.
32.tr \(*W-|\(bv\*(Tr 32.tr \(*W-
33.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' 33.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
34.ie n \{\ 34.ie n \{\
35. ds -- \(*W- 35. ds -- \(*W-
36. ds PI pi 36. ds PI pi
37. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 37. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
127.\} 127.\}
128.rm #[ #] #H #V #F C 128.rm #[ #] #H #V #F C
129.\" ======================================================================== 129.\" ========================================================================
130.\" 130.\"
131.IX Title "GVPE.CONF 5" 131.IX Title "GVPE.CONF 5"
132.TH GVPE.CONF 5 "2005-12-05" "1.9" "GNU Virtual Private Ethernet" 132.TH GVPE.CONF 5 "2008-08-10" "2.2" "GNU Virtual Private Ethernet"
133.SH "NAME" 133.SH "NAME"
134gvpe.conf \- configuration file for the GNU VPE daemon 134gvpe.conf \- configuration file for the GNU VPE daemon
135.SH "SYNOPSIS" 135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS" 136.IX Header "SYNOPSIS"
137.Vb 3 137.Vb 3
138\& udp-port = 407 138\& udp\-port = 407
139\& mtu = 1492 139\& mtu = 1492
140\& ifname = vpn0 140\& ifname = vpn0
141.Ve 141.Ve
142.PP 142.PP
143.Vb 2 143.Vb 2
146.Ve 146.Ve
147.PP 147.PP
148.Vb 3 148.Vb 3
149\& node = branch2 149\& node = branch2
150\& hostname = www.example.net 150\& hostname = www.example.net
151\& udp-port = 500 # this host uses a different udp-port 151\& udp\-port = 500 # this host uses a different udp\-port
152.Ve 152.Ve
153.PP 153.PP
154.Vb 2 154.Vb 2
155\& node = branch3 155\& node = branch3
156\& connect = ondemand 156\& connect = ondemand
181listen on), followed by node-specific sections that begin with a \f(CW\*(C`node = 181listen on), followed by node-specific sections that begin with a \f(CW\*(C`node =
182nickname\*(C'\fR line. 182nickname\*(C'\fR line.
183.PP 183.PP
184Every node that is part of the network must have a section that starts 184Every node that is part of the network must have a section that starts
185with \f(CW\*(C`node = nickname\*(C'\fR. The number and order of the nodes is important 185with \f(CW\*(C`node = nickname\*(C'\fR. The number and order of the nodes is important
186and must be the same on all hosts. It is not uncommon for node sections to 186and must be the same on all nodes. It is not uncommon for node sections to
187be completely empty \- if the default values are right. 187be completely empty \- if the default values are right.
188.PP 188.PP
189Node-specific settings can be used at any time. If used before the first 189Node-specific settings can be used at any time. If used before the first
190node section they will set the default values for all following nodes. 190node section they will set the default values for all following nodes.
191.SH "CONFIG VARIABLES" 191.SH "CONFIG VARIABLES"
245get request timeouts. The default of \f(CW8\fR means that the \s-1DNS\s0 transport 245get request timeouts. The default of \f(CW8\fR means that the \s-1DNS\s0 transport
246will resend the request when no reply has been received for longer than 246will resend the request when no reply has been received for longer than
247eight times the minimum (= expected) latency, assuming the request or 247eight times the minimum (= expected) latency, assuming the request or
248reply has been lost. 248reply has been lost.
249.Sp 249.Sp
250For congested links a higher value might be necessary (e.g. \f(CW30\fR). If the 250For congested links a higher value might be necessary (e.g. \f(CW30\fR). If
251link is very stable lower values (e.g. \f(CW2\fR) might work nicely. Values 251the link is very stable lower values (e.g. \f(CW2\fR) might work
252near or below \f(CW1\fR makes no sense whatsoever. 252nicely. Values near or below \f(CW1\fR makes no sense whatsoever.
253.Sp 253.Sp
254The default should be working ok for most links. 254The default should be working ok for most links but will result in low
255throughput if packet loss is high.
255.IP "if-up = relative-or-absolute-path" 4 256.IP "if-up = relative-or-absolute-path" 4
256.IX Item "if-up = relative-or-absolute-path" 257.IX Item "if-up = relative-or-absolute-path"
257Sets the path of a script that should be called immediately after the 258Sets the path of a script that should be called immediately after the
258network interface is initialized (but not neccessarily up). The following 259network interface is initialized (but not neccessarily up). The following
259environment variables are passed to it (the values are just examples). 260environment variables are passed to it (the values are just examples).
276\&\s-1OS\s0 name in lowercase) that this \s-1GVPE\s0 was configured for. Can be used to 277\&\s-1OS\s0 name in lowercase) that this \s-1GVPE\s0 was configured for. Can be used to
277select the correct syntax to use for network-related commands. 278select the correct syntax to use for network-related commands.
278.IP "MTU=1436" 4 279.IP "MTU=1436" 4
279.IX Item "MTU=1436" 280.IX Item "MTU=1436"
280The \s-1MTU\s0 to set the interface to. You can use lower values (if done 281The \s-1MTU\s0 to set the interface to. You can use lower values (if done
281consistently on all hosts), but this is usually ineffective. 282consistently on all nodes), but this is usually either inefficient or
283simply ineffective.
282.IP "NODES=5" 4 284.IP "NODES=5" 4
283.IX Item "NODES=5" 285.IX Item "NODES=5"
284The number of nodes in this \s-1GVPE\s0 network. 286The number of nodes in this \s-1GVPE\s0 network.
285.RE 287.RE
286.RS 4 288.RS 4
338the local node, try to set this to \f(CW\*(C`off\*(C'\fR and do an ifconfig down on the 340the local node, try to set this to \f(CW\*(C`off\*(C'\fR and do an ifconfig down on the
339device. 341device.
340.IP "ip-proto = numerical-ip-protocol" 4 342.IP "ip-proto = numerical-ip-protocol" 4
341.IX Item "ip-proto = numerical-ip-protocol" 343.IX Item "ip-proto = numerical-ip-protocol"
342Sets the protocol number to be used for the rawip protocol. This is a 344Sets the protocol number to be used for the rawip protocol. This is a
343global option because all hosts must use the same protocol, and since 345global option because all nodes must use the same protocol, and since
344there are no port numbers, you cannot easily run more than one gvpe 346there are no port numbers, you cannot easily run more than one gvpe
345instance using the same protocol, nor can you share the protocol with 347instance using the same protocol, nor can you share the protocol with
346other programs. 348other programs.
347.Sp 349.Sp
348The default is 47 (\s-1GRE\s0), which has a good chance of tunneling through 350The default is 47 (\s-1GRE\s0), which has a good chance of tunneling through
362Please note that gvpe will still try to resolve all hostnames in the 364Please note that gvpe will still try to resolve all hostnames in the
363configuration file, so if you are behind a proxy without access to a dns 365configuration file, so if you are behind a proxy without access to a dns
364server better use numerical \s-1IP\s0 addresses. 366server better use numerical \s-1IP\s0 addresses.
365.Sp 367.Sp
366To make best use of this option disable all protocols except tcp in your 368To make best use of this option disable all protocols except tcp in your
367config file and make sure your routers (or all other hosts) are listening 369config file and make sure your routers (or all other nodes) are listening
368on a port that the proxy allows (443, https, is a common choice). 370on a port that the proxy allows (443, https, is a common choice).
369.Sp 371.Sp
370If you have a router, connecting to it will suffice. Otherwise tcp must be 372If you have a router, connecting to it will suffice. Otherwise tcp must be
371enabled on all hosts. 373enabled on all nodes.
372.Sp 374.Sp
373Example: 375Example:
374.Sp 376.Sp
375.Vb 3 377.Vb 3
376\& http-proxy-host = proxy.example.com 378\& http\-proxy\-host = proxy.example.com
377\& http-proxy-port = 3128 # 8080 is another common choice 379\& http\-proxy\-port = 3128 # 8080 is another common choice
378\& http-proxy-auth = schmorp:grumbeere 380\& http\-proxy\-auth = schmorp:grumbeere
379.Ve 381.Ve
380.IP "http-proxy-port = proxy-tcp-port" 4 382.IP "http-proxy-port = proxy-tcp-port" 4
381.IX Item "http-proxy-port = proxy-tcp-port" 383.IX Item "http-proxy-port = proxy-tcp-port"
382The port where your proxy server listens. 384The port where your proxy server listens.
383.IP "http-proxy-auth = login:password" 4 385.IP "http-proxy-auth = login:password" 4
403maximum overhead (e.g. udp header size, encryption blocksize...) and pass 405maximum overhead (e.g. udp header size, encryption blocksize...) and pass
404this information to the \f(CW\*(C`if\-up\*(C'\fR script. 406this information to the \f(CW\*(C`if\-up\*(C'\fR script.
405.Sp 407.Sp
406Recommended values are 1500 (ethernet), 1492 (pppoe), 1472 (pptp). 408Recommended values are 1500 (ethernet), 1492 (pppoe), 1472 (pptp).
407.Sp 409.Sp
408This value must be the minimum of the mtu values of all hosts. 410This value must be the minimum of the mtu values of all nodes.
409.IP "node = nickname" 4 411.IP "node = nickname" 4
410.IX Item "node = nickname" 412.IX Item "node = nickname"
411Not really a config setting but introduces a node section. The nickname is 413Not really a config setting but introduces a node section. The nickname is
412used to select the right configuration section and must be passed as an 414used to select the right configuration section and must be passed as an
413argument to the gvpe daemon. 415argument to the gvpe daemon.
414.IP "node-up = relative-or-absolute-path" 4 416.IP "node-up = relative-or-absolute-path" 4
415.IX Item "node-up = relative-or-absolute-path" 417.IX Item "node-up = relative-or-absolute-path"
416Sets a command (default: no script) that should be called whenever a 418Sets a command (default: none) that should be called whenever a connection
417connection is established (even on rekeying operations). In addition to 419is established (even on rekeying operations). Note that node\-up/down
420scripts will be run asynchronously, but execution is serialised, so there
421will only ever be one such script running.
422.Sp
418all the variables passed to \f(CW\*(C`if\-up\*(C'\fR scripts, the following environment 423In addition to all the variables passed to \f(CW\*(C`if\-up\*(C'\fR scripts, the following
419variables will be set: 424environment variables will be set:
420.RS 4 425.RS 4
421.IP "DESTNODE=branch2" 4 426.IP "DESTNODE=branch2" 4
422.IX Item "DESTNODE=branch2" 427.IX Item "DESTNODE=branch2"
423The name of the remote node. 428The name of the remote node.
424.IP "DESTID=2" 4 429.IP "DESTID=2" 4
425.IX Item "DESTID=2" 430.IX Item "DESTID=2"
426The node id of the remote node. 431The node id of the remote node.
427.IP "DESTIP=188.13.66.8" 4 432.IP "DESTIP=188.13.66.8" 4
428.IX Item "DESTIP=188.13.66.8" 433.IX Item "DESTIP=188.13.66.8"
429The numerical \s-1IP\s0 address of the remote host (gvpe accepts connections from 434The numerical \s-1IP\s0 address of the remote node (gvpe accepts connections from
430everywhere, as long as the other host can authenticate itself). 435everywhere, as long as the other node can authenticate itself).
431.IP "DESTPORT=655 # deprecated" 4 436.IP "DESTPORT=655 # deprecated" 4
432.IX Item "DESTPORT=655 # deprecated" 437.IX Item "DESTPORT=655 # deprecated"
433The \s-1UDP\s0 port used by the other side. 438The \s-1UDP\s0 port used by the other side.
434.IP "STATE=UP" 4 439.IP "STATE=UP" 4
435.IX Item "STATE=UP" 440.IX Item "STATE=UP"
445\& #!/bin/sh 450\& #!/bin/sh
446\& { 451\& {
447\& echo update delete $DESTNODE.lowttl.example.net. a 452\& echo update delete $DESTNODE.lowttl.example.net. a
448\& echo update add $DESTNODE.lowttl.example.net. 1 in a $DESTIP 453\& echo update add $DESTNODE.lowttl.example.net. 1 in a $DESTIP
449\& echo 454\& echo
450\& } | nsupdate -d -k $CONFBASE:key.example.net. 455\& } | nsupdate \-d \-k $CONFBASE:key.example.net.
451.Ve 456.Ve
452.RE 457.RE
453.IP "node-down = relative-or-absolute-path" 4 458.IP "node-down = relative-or-absolute-path" 4
454.IX Item "node-down = relative-or-absolute-path" 459.IX Item "node-down = relative-or-absolute-path"
455Same as \f(CW\*(C`node\-up\*(C'\fR, but gets called whenever a connection is lost. 460Same as \f(CW\*(C`node\-up\*(C'\fR, but gets called whenever a connection is lost.
464be doubled. A single \f(CW%s\fR is replaced by the hostname, so you could 469be doubled. A single \f(CW%s\fR is replaced by the hostname, so you could
465use paths like \f(CW\*(C`hostkeys/%s\*(C'\fR to fetch the files at the location where 470use paths like \f(CW\*(C`hostkeys/%s\*(C'\fR to fetch the files at the location where
466\&\f(CW\*(C`gvpectrl\*(C'\fR puts them. 471\&\f(CW\*(C`gvpectrl\*(C'\fR puts them.
467.Sp 472.Sp
468Since only the private key file of the current node is used and the 473Since only the private key file of the current node is used and the
469private key file should be kept secret per-host to avoid spoofings, it is 474private key file should be kept secret per-node to avoid spoofings, it is
470not recommended to use this feature. 475not recommended to use this feature.
471.IP "rekey = seconds" 4 476.IP "rekey = seconds" 4
472.IX Item "rekey = seconds" 477.IX Item "rekey = seconds"
473Sets the rekeying interval in seconds (default: \f(CW3600\fR). Connections are 478Sets the rekeying interval in seconds (default: \f(CW3600\fR). Connections are
474reestablished every \f(CW\*(C`rekey\*(C'\fR seconds. 479reestablished every \f(CW\*(C`rekey\*(C'\fR seconds.
481.IP "allow-direct = nodename" 4 486.IP "allow-direct = nodename" 4
482.IX Item "allow-direct = nodename" 487.IX Item "allow-direct = nodename"
483Allow direct connections to this node. See \f(CW\*(C`deny\-direct\*(C'\fR for more info. 488Allow direct connections to this node. See \f(CW\*(C`deny\-direct\*(C'\fR for more info.
484.IP "compress = yes|true|on | no|false|off" 4 489.IP "compress = yes|true|on | no|false|off" 4
485.IX Item "compress = yes|true|on | no|false|off" 490.IX Item "compress = yes|true|on | no|false|off"
486Wether to compress data packets sent to this host (default: \f(CW\*(C`yes\*(C'\fR). 491Wether to compress data packets sent to this node (default: \f(CW\*(C`yes\*(C'\fR).
487Compression is really cheap even on slow computers and has no size 492Compression is really cheap even on slow computers and has no size
488overhead at all, so enabling this is a good idea. 493overhead at all, so enabling this is a good idea.
489.IP "connect = ondemand | never | always | disabled" 4 494.IP "connect = ondemand | never | always | disabled" 4
490.IX Item "connect = ondemand | never | always | disabled" 495.IX Item "connect = ondemand | never | always | disabled"
491Sets the connect mode (default: \f(CW\*(C`always\*(C'\fR). It can be \f(CW\*(C`always\*(C'\fR (always 496Sets the connect mode (default: \f(CW\*(C`always\*(C'\fR). It can be \f(CW\*(C`always\*(C'\fR (always
492try to establish and keep a connection to the given host), \f(CW\*(C`never\*(C'\fR 497try to establish and keep a connection to the given node), \f(CW\*(C`never\*(C'\fR
493(never initiate a connection to the given host, but accept connections), 498(never initiate a connection to the given host, but accept connections),
494\&\f(CW\*(C`ondemand\*(C'\fR (try to establish a connection on the first packet sent, and 499\&\f(CW\*(C`ondemand\*(C'\fR (try to establish a connection when there are outstanding
495take it down after the keepalive interval) or \f(CW\*(C`disabled\*(C'\fR (node is bad, 500packets in the queue and take it down after the keepalive interval) or
496don't talk to it). 501\&\f(CW\*(C`disabled\*(C'\fR (node is bad, don't talk to it).
502.Sp
503Routers will automatically be forced to \f(CW\*(C`always\*(C'\fR unless they are
504\&\f(CW\*(C`disabled\*(C'\fR, to ensure all nodes can talk to each other.
497.IP "deny-direct = nodename | *" 4 505.IP "deny-direct = nodename | *" 4
498.IX Item "deny-direct = nodename | *" 506.IX Item "deny-direct = nodename | *"
499Deny direct connections to the specified node (or all nodes when \f(CW\*(C`*\*(C'\fR 507Deny direct connections to the specified node (or all nodes when \f(CW\*(C`*\*(C'\fR
500is given). Only one node can be specified, but you can use multiple 508is given). Only one node can be specified, but you can use multiple
501\&\f(CW\*(C`allow\-direct\*(C'\fR and \f(CW\*(C`deny\-direct\*(C'\fR statements. This only makes sense in 509\&\f(CW\*(C`allow\-direct\*(C'\fR and \f(CW\*(C`deny\-direct\*(C'\fR statements. This only makes sense in
513.Sp 521.Sp
5142. Other node mentioned in a \f(CW\*(C`deny\-direct\*(C'\fR? If yes, deny direct connections. 5222. Other node mentioned in a \f(CW\*(C`deny\-direct\*(C'\fR? If yes, deny direct connections.
515.Sp 523.Sp
5163. Allow the connection. 5243. Allow the connection.
517.Sp 525.Sp
518That is, \f(CW\*(C`allow\-direct\*(C'\fR takes precende over \f(CW\*(C`deny\-direct\*(C'\fR. 526That is, \f(CW\*(C`allow\-direct\*(C'\fR takes precedence over \f(CW\*(C`deny\-direct\*(C'\fR.
519.Sp 527.Sp
520The check is done in both directions, i.e. both nodes must allow a direct 528The check is done in both directions, i.e. both nodes must allow a direct
521connection before one is attempted, so you only need to specify connect 529connection before one is attempted, so you only need to specify connect
522limitations on one node. 530limitations on one node.
523.IP "dns-domain = domain-suffix" 4 531.IP "dns-domain = domain-suffix" 4
526.Sp 534.Sp
527The domain must point to a \s-1NS\s0 record that points to the \fIdns-hostname\fR, 535The domain must point to a \s-1NS\s0 record that points to the \fIdns-hostname\fR,
528i.e. 536i.e.
529.Sp 537.Sp
530.Vb 2 538.Vb 2
531\& dns-domainname = tunnel.example.net 539\& dns\-domainname = tunnel.example.net
532\& dns-hostname = tunnel-server.example.net 540\& dns\-hostname = tunnel\-server.example.net
533.Ve 541.Ve
534.Sp 542.Sp
535Corresponds to the following \s-1DNS\s0 entries in the \f(CW\*(C`example.net\*(C'\fR domain: 543Corresponds to the following \s-1DNS\s0 entries in the \f(CW\*(C`example.net\*(C'\fR domain:
536.Sp 544.Sp
537.Vb 2 545.Vb 2
538\& tunnel.example.net. NS tunnel-server.example.net. 546\& tunnel.example.net. NS tunnel\-server.example.net.
539\& tunnel-server.example.net. A 13.13.13.13 547\& tunnel\-server.example.net. A 13.13.13.13
540.Ve 548.Ve
541.IP "dns-hostname = hostname/ip" 4 549.IP "dns-hostname = hostname/ip" 4
542.IX Item "dns-hostname = hostname/ip" 550.IX Item "dns-hostname = hostname/ip"
543The address to bind the \s-1DNS\s0 tunnel socket to, similar to the \f(CW\*(C`hostname\*(C'\fR, 551The address to bind the \s-1DNS\s0 tunnel socket to, similar to the \f(CW\*(C`hostname\*(C'\fR,
544but for the \s-1DNS\s0 tunnel protocol only. Default: \f(CW0.0.0.0\fR, but that might 552but for the \s-1DNS\s0 tunnel protocol only. Default: \f(CW0.0.0.0\fR, but that might
615retries to establish a connection to this node. When a connection cannot 623retries to establish a connection to this node. When a connection cannot
616be established, gvpe uses exponential backoff capped at this value. It's 624be established, gvpe uses exponential backoff capped at this value. It's
617sometimes useful to set this to a much lower value (e.g. \f(CW120\fR) on 625sometimes useful to set this to a much lower value (e.g. \f(CW120\fR) on
618connections to routers that usually are stable but sometimes are down, to 626connections to routers that usually are stable but sometimes are down, to
619assure quick reconnections even after longer downtimes. 627assure quick reconnections even after longer downtimes.
628.IP "max-ttl = seconds" 4
629.IX Item "max-ttl = seconds"
630Expire packets that couldn't be sent after this many seconds
631(default: \f(CW60\fR). Gvpe will normally queue packets for a node without an
632active connection, in the hope of establishing a connection soon. This
633value specifies the maximum lifetime a packet will stay in the queue, if a
634packet gets older, it will be thrown away.
635.IP "max-queue = positive\-number>=1" 4
636.IX Item "max-queue = positive-number>=1"
637The maximum number of packets that will be queued (default: \f(CW512\fR)
638for this node. If more packets are sent then earlier packets will be
639expired. See \f(CW\*(C`max\-ttl\*(C'\fR, above.
620.IP "router-priority = 0 | 1 | positive\-number>=2" 4 640.IP "router-priority = 0 | 1 | positive\-number>=2" 4
621.IX Item "router-priority = 0 | 1 | positive-number>=2" 641.IX Item "router-priority = 0 | 1 | positive-number>=2"
622Sets the router priority of the given host (default: \f(CW0\fR, disabled). If 642Sets the router priority of the given node (default: \f(CW0\fR, disabled).
623some host tries to connect to another host without a hostname, it asks
624the router host for it's \s-1IP\s0 address. The router host is the one with the
625highest priority larger than \f(CW1\fR that is currently reachable.
626.Sp 643.Sp
627Make sure all hosts always connect (\f(CW\*(C`connect = always\*(C'\fR) to the router 644If some node tries to connect to another node but it doesn't have a
628hosts, otherwise connecting to them might be impossible. 645hostname, it asks a router node for it's \s-1IP\s0 address. The router node
646chosen is the one with the highest priority larger than \f(CW1\fR that is
647currently reachable. This is called a \fImediated\fR connection, as the
648connection itself will still be direct, but it uses another node to
649mediate between the two nodes.
650.Sp
651The value \f(CW0\fR disables routing, that means if the node receives a packet
652not for itself it will not forward it but instead drop it.
629.Sp 653.Sp
630The special value \f(CW1\fR allows other hosts to route through the router 654The special value \f(CW1\fR allows other hosts to route through the router
631host, but they will never route through it by default. The value \f(CW0\fR 655host, but they will never route through it by default (i.e. the config
632disables routing. The idea behind this is that some hosts can, if 656file of another node needs to specify a router priority higher than one
657to choose such a node for routing).
658.Sp
659The idea behind this is that some hosts can, if required, bump the
633required, bump the \f(CW\*(C`router\-priority\*(C'\fR setting to higher than \f(CW1\fR in their 660\&\f(CW\*(C`router\-priority\*(C'\fR setting to higher than \f(CW1\fR in their local config to
634local config to route through specific hosts. If \f(CW\*(C`router\-priority\*(C'\fR is 661route through specific hosts. If \f(CW\*(C`router\-priority\*(C'\fR is \f(CW0\fR, then routing
635\&\f(CW0\fR, then routing will be refused, so \f(CW1\fR serves as a \*(L"enable, but do 662will be refused, so \f(CW1\fR serves as a \*(L"enable, but do not use by default\*(R"
636not use by default\*(R" switch. 663switch.
664.Sp
665Nodes with \f(CW\*(C`router\-priority\*(C'\fR set to \f(CW2\fR or higher will always be forced
666to \f(CW\*(C`connect\*(C'\fR = \f(CW\*(C`always\*(C'\fR (unless they are \f(CW\*(C`disabled\*(C'\fR).
637.IP "tcp-port = port-number" 4 667.IP "tcp-port = port-number" 4
638.IX Item "tcp-port = port-number" 668.IX Item "tcp-port = port-number"
639Similar to \f(CW\*(C`udp\-port\*(C'\fR (default: \f(CW655\fR), but sets the \s-1TCP\s0 port number. 669Similar to \f(CW\*(C`udp\-port\*(C'\fR (default: \f(CW655\fR), but sets the \s-1TCP\s0 port number.
640.IP "udp-port = port-number" 4 670.IP "udp-port = port-number" 4
641.IX Item "udp-port = port-number" 671.IX Item "udp-port = port-number"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines