Only one-way ssh openwrt thru wireguard tunnel

I got the following setup:

GL-X750v2 with 4g modem and openwrt on it (called wg-client)

localIP: 192.168.66.1
wireguardIP: 192.168.33.9

wg-client can ping 8.8.8.8, has a wireguard interface connected to the wg-server at my home lan.

HomeLAN: 192.168.1.0/24
Wireguard: 192.168.33.0/24 (wg-server 192.168.33.1)
RemoteLAN: 192.168.66.0/24

I have routes both ways and i can ping:
HomeLAN <--> RemoteLAN
Wireguard<--> HomeLAN
Wireguard<--> RemoteLAN

I can ssh FROM wg-client (=openwrt router) ---into----> wg-server @homelan
but NOT the other way around.

wg-interface is in the green zone

here ssh -vvvv output:

jarvis@wireguard:~$ ssh -vvvvv root@192.168.33.9
OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1, OpenSSL 1.1.1d  10 Sep 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.33.9 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.33.9 [192.168.33.9] port 22.
debug1: Connection established.
debug1: identity file /home/jarvis/.ssh/id_rsa type 0
debug1: identity file /home/jarvis/.ssh/id_rsa-cert type -1
debug1: identity file /home/jarvis/.ssh/id_dsa type -1
debug1: identity file /home/jarvis/.ssh/id_dsa-cert type -1
debug1: identity file /home/jarvis/.ssh/id_ecdsa type -1
debug1: identity file /home/jarvis/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/jarvis/.ssh/id_ed25519 type -1
debug1: identity file /home/jarvis/.ssh/id_ed25519-cert type -1
debug1: identity file /home/jarvis/.ssh/id_xmss type -1
debug1: identity file /home/jarvis/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1
debug1: Remote protocol version 2.0, remote software version dropbear
debug1: no match: dropbear
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 192.168.33.9:22 as 'root'
debug3: hostkeys_foreach: reading file "/home/jarvis/.ssh/known_hosts"
debug3: record_hostkey: found key type ED25519 in file /home/jarvis/.ssh/known_hosts:7
debug3: load_hostkeys: loaded 1 keys from 192.168.33.9
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,kexguess2@matt.ucc.asn.au
debug2: host key algorithms: ssh-ed25519,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr
debug2: MACs ctos: hmac-sha1,hmac-sha2-256
debug2: MACs stoc: hmac-sha1,hmac-sha2-256
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

why?

  • Does that mean LAN?
  • What are the LAN Zone settings?
    • e.g. Do you allow FORWARD in the LAN Zone? :wink: