I have 2 instances of drop bear configured. One listens in the lan and the other one in the wan. However, on startup only the instance listening on the lan seems to be up and running. The instance listening on the wan has not been started. When I use “netstat” to check what’s listening on port 22 for both lan/wan and I can only see port 22 accepting connections on the lan. No trace of a listening port 22 on the wan. I have to go and restart dropbear (etc/init.d/dropbear restart) to get the issue solved.
Any ideas?
root@GL-AR300M# cat /etc/config/dropbear
config dropbear
option Port ‘22’
option GatewayPorts ‘on’
option PasswordAuth ‘on’
option Interface ‘lan’
config dropbear
option Port ‘22’
option Interface ‘wan’
option PasswordAuth ‘on’