Solved Cannot SSH after lagg failover

I have set up "Failover Mode Between Ethernet and Wireless Interfaces" as described in https://www.freebsd.org/doc/handbook/network-aggregation.html

Code:
ifconfig_re0="ether 40:74:e0:ee:b5:1a"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA"
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto failover laggport re0 laggport wlan0 SYNCDHCP"

It works as expected... WiFi is active when the LAN cable is unplugged, and switches to ethernet when the cable is plugged in.
Internet works as expected.

Connecting to this system via ssh or syncthing does not work. I have the required ports opened in pf. And all works fine if I'm using the ethernet or wireless interfaces individually.

For troubleshooting, I have disabled pf. But it doesn't make a difference.

It seems to be the same issue as in https://forums.freebsd.org/threads/solved-cannot-ssh-since-failover-implementation.47294/

I watched
View: https://www.youtube.com/watch?v=O84I7VcW7fk

but could not figure out the solution.

What am I missing?
 
The ListenAddress was commented out.

Code:
% grep ListenAddress /etc/ssh/sshd_config
#ListenAddress 0.0.0.0
#ListenAddress ::

I tried with ListenAddress 0.0.0.0 uncommented, and also with the IP on the lagg0 interface, restarted sshd. No difference.
 
Try without SYNCDHCP & use plain DHCP instead?
Make shure sshd(8) is running: service sshd status
Seems that by default, sshd(8) listens on localhost only: lsof -i :ssh:
Code:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 3632 root 3u IPv4 0xfffff80168645b70 0t0 TCP localhost:ssh (LISTEN)
 
Back
Top