diff options
Diffstat (limited to 'doc/examples/openwrt/fastd.config')
-rw-r--r-- | doc/examples/openwrt/fastd.config | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/examples/openwrt/fastd.config b/doc/examples/openwrt/fastd.config index b2ab205..f24b89b 100644 --- a/doc/examples/openwrt/fastd.config +++ b/doc/examples/openwrt/fastd.config @@ -62,7 +62,8 @@ config fastd sample_config # Socket to get fastd's status # option status_socket '/var/run/fastd-example.sock' - # Limits the maximum number of connections, optional + # Limits the maximum number of connections (optional) + # May also be used in peer groups # option peer_limit 5 # The secret key @@ -82,13 +83,21 @@ config fastd sample_config # If set to 1, the logs won't contain peers' MAC addresses # option hide_mac_addresses '0' - # command to configure IP addresses etc. after the tunnel interface is up; $1 will be the interface name (optional) + # If set to 0, peer-specific interfaces will only exist as long as there is an active connection +# option persist_interface '1' + + # If fastd was compiled with libcap support, defines how capabilities are handled + # Possible values: 1, 0, early, force (see fastd documentation for a description of the values) +# option drop_capabilities '1' + + # Command to configure IP addresses etc. after the tunnel interface is up; $1 will be the interface name (optional) # option up '' - # command to execute before the tunnel interface is set down; $1 will be the interface name (optional) + # Command to execute before the tunnel interface is set down; $1 will be the interface name (optional) # option down '' - # commands executed by fastd ($INTERFACE can be used for the interface name; optional) + # Commands executed by fastd ($INTERFACE can be used for the interface name; optional) + # All except on_pre_up and on_post_down may also be used in peer groups # option on_pre_up '' # option on_up '' # option on_down '' @@ -152,6 +161,3 @@ config peer_group sample_group # Methods set in the peer group override the ones configured in the parent group or globally # list method 'null' - - # Limits the maximum number of connections to peers in this group (optional) -# option peer_limit 5 |