Dropbear doesn't authenticate when connecting from wan

For dropbear:

config dropbear
	option PasswordAuth 'on'
	option Port '22'
	option Interface 'lan'

Nat rule:

config redirect
	option name 'management_ssh'
	option src 'wan'
	option src_dport '65534'
	option target 'DNAT'
	option dest_ip ''
	option dest 'lan'
	list proto 'tcp'
	option reflection_src 'external'
	option dest_port '22'

When I:

$ telnet my-ip 65534
Escape character is '^]'.

but when I ssh I get this in syslog (after some waiting):

Exit before auth: Timeout before auth

But Internal auth is working?

1 Like

Why are you making this so complicated? Can't you just configure a second instance, and listen on that port on WAN?


Yes It's working

I tried it now. no success.

The problem is in my phone connection, I was able to establish a connection but not able to authenticate. Pretty odd!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.