summaryrefslogtreecommitdiffstats
path: root/doc/examples/openwrt/fastd.config
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 18:39:04 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 18:39:04 +0100
commita86d2f5d898523ddaa95044d45a6210a6c733645 (patch)
tree000b686b64a3048f91fc4c9c8787bf2bf21ec398 /doc/examples/openwrt/fastd.config
parent2e9ef2eda9c49b3b309d4e9e461ef4ebc9cc66a8 (diff)
downloadfastd-a86d2f5d898523ddaa95044d45a6210a6c733645.tar
fastd-a86d2f5d898523ddaa95044d45a6210a6c733645.zip
doc: examples/openwrt: update init script and example config with new options
Diffstat (limited to 'doc/examples/openwrt/fastd.config')
-rw-r--r--doc/examples/openwrt/fastd.config20
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