2015-05-09 18:10:08 +00:00
|
|
|
config global
|
|
|
|
# option uci_enabled '1'
|
|
|
|
|
2017-10-10 17:23:44 +00:00
|
|
|
config network
|
2018-04-09 11:52:39 +00:00
|
|
|
# Logical network dependency, fully tracked, fwknopd gets restarted when
|
|
|
|
# necessary. Specifying network takes precedence over config.PCAP_INTF
|
|
|
|
# option network 'wan'
|
2017-10-10 17:23:44 +00:00
|
|
|
|
2015-05-09 18:10:08 +00:00
|
|
|
config access
|
|
|
|
option SOURCE 'ANY'
|
2020-10-15 15:48:12 +00:00
|
|
|
option HMAC_KEY '__CHANGEME__'
|
|
|
|
option KEY '__CHANGEME__'
|
2015-05-09 18:10:08 +00:00
|
|
|
|
|
|
|
config config
|
2018-04-09 11:52:39 +00:00
|
|
|
# Alternative direct physical interface definition, but untracked - you
|
|
|
|
# are on your own to correctly start/stop the service when needed
|
|
|
|
# option PCAP_INTF 'eth0'
|
2020-10-15 15:48:12 +00:00
|
|
|
|
|
|
|
# Allow SPA clients to request access to services through an iptables
|
|
|
|
# firewall instead of just to it (i.e. access through the FWKNOP_FORWARD
|
|
|
|
# chain instead of the INPUT chain
|
|
|
|
option ENABLE_IPT_FORWARDING 'Y'
|
|
|
|
|
|
|
|
# Allow fwknopd to resolve hostnames in NAT access messages
|
|
|
|
option ENABLE_NAT_DNS 'Y'
|