… | |
… | |
2 | |
2 | |
3 | gvpe.conf - configuration file for the GNU VPE daemon |
3 | gvpe.conf - configuration file for the GNU VPE daemon |
4 | |
4 | |
5 | =head1 SYNOPSIS |
5 | =head1 SYNOPSIS |
6 | |
6 | |
7 | enable-udp = yes |
|
|
8 | udp-port = 407 |
7 | udp-port = 407 |
9 | mtu = 1492 |
8 | mtu = 1492 |
10 | ifname = vpn0 |
9 | ifname = vpn0 |
11 | |
10 | |
12 | node = branch1 |
11 | node = branch1 |
… | |
… | |
312 | (default: C<no>). This is the best choice, since the overhead per packet |
311 | (default: C<no>). This is the best choice, since the overhead per packet |
313 | is only 38 bytes, as opposed to UDP's 58 (or TCP's 60+). |
312 | is only 38 bytes, as opposed to UDP's 58 (or TCP's 60+). |
314 | |
313 | |
315 | =item enable-udp = yes|true|on | no|false|off |
314 | =item enable-udp = yes|true|on | no|false|off |
316 | |
315 | |
317 | Enable the UDPv4 transport using the C<udp-port> port (default: C<yes>, |
316 | Enable the UDPv4 transport using the C<udp-port> port (default: C<no>, |
318 | but this will change!). This is a good general choice since UDP tunnels |
317 | unless no other protocol is enabled for a node, in which case this |
|
|
318 | protocol is enabled automatically). This is a good general choice since |
319 | well through many firewalls. |
319 | UDP tunnels well through many firewalls. |
320 | |
320 | |
321 | NOTE: Please specify C<enable-udp = yes> even though it is the default, as |
321 | NOTE: Please specify C<enable-udp = yes> if you want t use it even though |
322 | some future version will have all protocols disabled by default. |
322 | it might get switched on automatically, as some future version might |
|
|
323 | default to another default protocol. |
323 | |
324 | |
324 | =item enable-tcp = yes|true|on | no|false|off |
325 | =item enable-tcp = yes|true|on | no|false|off |
325 | |
326 | |
326 | Enable the TCPv4 transport using the C<tcp-port> port |
327 | Enable the TCPv4 transport using the C<tcp-port> port |
327 | (default: C<no>). Support for this horribly unsuitable protocol is only |
328 | (default: C<no>). Support for this horribly unsuitable protocol is only |
… | |
… | |
349 | |
350 | |
350 | =item connect = ondemand | never | always | disabled |
351 | =item connect = ondemand | never | always | disabled |
351 | |
352 | |
352 | Sets the connect mode (default: C<always>). It can be C<always> (always |
353 | Sets the connect mode (default: C<always>). It can be C<always> (always |
353 | try to establish and keep a connection to the given host), C<never> |
354 | try to establish and keep a connection to the given host), C<never> |
354 | (nevr initiate a connection to the given host, but accept connections), |
355 | (never initiate a connection to the given host, but accept connections), |
355 | C<ondemand> (try to establish a connection on the first packet sent, and |
356 | C<ondemand> (try to establish a connection on the first packet sent, and |
356 | take it down after the keepalive interval) or C<disabled> (node is bad, |
357 | take it down after the keepalive interval) or C<disabled> (node is bad, |
357 | don't talk to it). |
358 | don't talk to it). |
358 | |
359 | |
359 | =item inherit-tos = yes|true|on | no|false|off |
360 | =item inherit-tos = yes|true|on | no|false|off |
… | |
… | |
384 | |
385 | |
385 | The default (or recommended) directory layout for the config directory is: |
386 | The default (or recommended) directory layout for the config directory is: |
386 | |
387 | |
387 | =over 4 |
388 | =over 4 |
388 | |
389 | |
389 | =item gvpe.conf |
390 | =item X<gvpe.conf> |
390 | |
391 | |
391 | The config file. |
392 | The config file. |
392 | |
393 | |
393 | =item if-up |
394 | =item X<if-up> |
394 | |
395 | |
395 | The if-up script |
396 | The if-up script |
396 | |
397 | |
397 | =item node-up, node-down |
398 | =item X<node-up>, X<node-down> |
398 | |
399 | |
399 | If used the node up or node-down scripts. |
400 | If used the node up or node-down scripts. |
400 | |
401 | |
401 | =item hostkey |
402 | =item X<hostkey> |
402 | |
403 | |
403 | The private key (taken from C<hostkeys/nodename>) of the current host. |
404 | The private key (taken from C<hostkeys/nodename>) of the current host. |
404 | |
405 | |
405 | =item pubkey/nodename |
406 | =item X<pubkey/nodename> |
406 | |
407 | |
407 | The public keys of the other nodes, one file per node. |
408 | The public keys of the other nodes, one file per node. |
408 | |
409 | |
409 | =back |
410 | =back |
410 | |
411 | |