-
Notifications
You must be signed in to change notification settings - Fork 0
Server Configuration
John Cameron edited this page Oct 17, 2018
·
3 revisions
The server configuration file is in config.yml The below configuration will signal a successful knock when the correct data is received in this sequence of UDP ports: 4000, 5000, 6000.
# The bind address
bind_address='0.0.0.0'
# The knock sequence in UDP ports
knock-sequence=4000,5000,6000
# The command to execute in the terminal for when a port knocking session is successful.
open-command='echo "OPEN"'
# The command to execute in the terminal after the timer expires (timeout value)
close-command='echo "CLOSED"'
# The amount of seconds to wait until executing the close-command after open-command been executed
open-timeout=10
# The maximum number of sessions allowed simultaneously
max-sessions=10
# A shared secret between the server and client
shared-secret=''