Last active
March 7, 2020 12:50
-
-
Save grammy-jiang/1149ccade81fe73d3c42be303ba1eaa1 to your computer and use it in GitHub Desktop.
/etc/default/knockd on Raspberry Pi, refer to https://linux.die.net/man/1/knockd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# control if we start knockd at init or not | |
# 1 = start | |
# anything else = don't start | |
# PLEASE EDIT /etc/knockd.conf BEFORE ENABLING | |
START_KNOCKD=1 | |
# command line options | |
KNOCKD_OPTS="--interface eth0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Raspbian and Ubuntu 18.04 of Raspberry Pi, the default ethernet interface name is
eth0
, which is listened byknockd
.