Open florensie opened 1 year ago
It seems like knockd doesn't support listening on multiple interfaces. I've tested spinning up a second daemon in an already running container and that seems to work:
/usr/local/sbin/knockd -c /tmp/knockd-config.cfg -d -i tun0
Enhancement Type
Improve an existing feature
Describe the enhancement
I'm running my minecraft container in a gluetun network with a port-forward configured on my VPN. The gluetun network provides two network interfaces: eth0 and tun0. Both can be used depending on if I want to connect locally or externally through the VPN, so both need to respond to knocks.
It would be nice if
AUTOPAUSE_KNOCK_INTERFACE
supported a comma separated list of interfaces. This currently results in the following error being logged:A docker compose configuration with gluetun looks something like this: