jvinet / knock

A port-knocking daemon
http://www.zeroflux.org/projects/knock
GNU General Public License v2.0
549 stars 113 forks source link

multiple IPs per interface #57

Closed aletheia7 closed 6 years ago

aletheia7 commented 6 years ago

Problem: knockd works fine when the knocks arrive on the first IP of a multi-homed network interface. When I change and send the knocks to the second IP on the network interface, the knocks are not received.

Example

eth0 has 192.168.1.3 192.168.1.3 192.168.1.3

aletheia7 commented 6 years ago

Please disregard. I accidentally typed some keystroke that inadvertently saved the issue.

I found the "interface =" feature to knockd.conf as I was typing this issue. knockd works great with multi-homed network interfaces. Thanks for making knockd.