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 '192.168.1.1'
	option dest 'lan'
	list proto 'tcp'
	option reflection_src 'external'
	option dest_port '22'

When I:

$ telnet my-ip 65534
Escape character is '^]'.
SSH-2.0-dropbear
,G_v�����h2o��k��curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,kexguess2@matt.ucc.asn.aussh-rsaaes128-ctr,aes256-ctraes128-ctr,aes256-ctrhmac-sha1,hmac-sha2-256hmac-sha1,hmac-sha2-256nonenone�62|

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?

2 Likes

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.