| 1 |
# |
| 2 |
# This file defines various settings for the fwknop-launcher.pl script. By |
| 3 |
# using the fwknop-launcher, the user does not have to manually run the fwknop |
| 4 |
# client before trying to access a remote service - the launcher will execute |
| 5 |
# the client on behalf of the user when a connection is attempted (as seen |
| 6 |
# currently through lsof). |
| 7 |
# |
| 8 |
|
| 9 |
### The main variable in this file is the SPA_ACCESS variable below (at least |
| 10 |
### one definition of SPA_ACCESS is required). It can be |
| 11 |
### specified multiple times - one on each line. The format for this variable |
| 12 |
### is as follows: |
| 13 |
# |
| 14 |
# SPA_ACCESS <command>:<proto>:<dst_ip>:<dst_port>; |
| 15 |
# |
| 16 |
# Example: SPA_ACCESS ssh:tcp:1.2.3.4:22; |
| 17 |
# |
| 18 |
# The string "any" can be used as a wildcard (see below). Note that it is |
| 19 |
# usually a good idea to restrict the launcher to sending SPA access requests |
| 20 |
# that the remote fwknopd daemon is allowing - such as port 22 for SSH access. |
| 21 |
# |
| 22 |
# SPA_ACCESS any:any:any:any; |
| 23 |
|
| 24 |
SPA_ACCESS ssh:tcp:any:22; |
| 25 |
|
| 26 |
KEY_FILE ~/.fwknop.key; |
| 27 |
|
| 28 |
#FWKNOP_ARGS_APPEND "--server-port 50003"; |
| 29 |
|
| 30 |
#FWKNOP_ARGS_OVERRIDE "-A tcp/22 -s -D 127.0.0.1 --get-key /some/file"; |