#
#############################################################################
#
# File: access.conf
#
# Purpose: This file defines how fwknop will modify iptables access conrtols
#          for specific IPs/networks.  It gets installed at
#          /etc/fwknop/access.conf and is consulted by fwknop when run in
#          "access control mode", which is the default (i.e. when fwknop is
#          run from the command line without any command line arguments).
#          The corresponding file ~/.fwknoprc defines how fwknop will
#          send the port knocking sequence for machines in access.conf.  See
#          the fwknop man page for more information.
#
# Keyword Definitions:
#
#   SOURCE:  This defines the source address from which a knock sequence
#            will be accepted.  The string "ANY" is also accepted if a
#            correct knock sequence should be honored from any source IP.
#            Every knock sequence definition must start with the SOURCE
#            keyword.
#
#   ENCRYPT_SEQUENCE:  Expect that all port knock sequences originating from
#            the SOURCE will be encrypted.  Fwknop will try to decrypt all
#            such sequences.
#
#############################################################################
#
# $Id: access.conf,v 1.4 2004/07/08 21:42:27 mbr Exp $
#

### default encrypted sequence
SOURCE: ANY;
ENCRYPT_SEQUENCE;
#KEY: blah;
PORT_OFFSET: 61000;
TIMEOUT: 300;
REQUIRE_OS_REGEX: linux;

### example shared sequence for source 10.0.0.123
#SOURCE: 10.0.0.123;
#OPEN_TCP_PORTS: 22;
#OPEN_UDP_PORTS: 24;
#TIMEOUT: 60;
#SEQUENCE: tcp/65531, tcp/65533, tcp/65532;
#MIN_TIME_DIFF: 2;
#MAX_TIME_DIFF: 10;
#REQUIRE_OS: Linux (2.4.x kernel);
#REQUIRE_OS_REGEX: linux;
