Hi friends, I need some help with Port Forwarding ssh.
I have a PC connected to the WAN port, and I need to ssh to a device connected on LAN0 of my router. So ssh is not into my router (that is fine), I need to ssh into the device connected to the router on the lan firewall. I have several Port Forwarding configuration for wan to lan at different ports, and everything is fine. Also, I can access a https server on the lan device, so I thought will be super easy also getting access to the ssh. But it's not working.
Any suggestion about this. I'm attaching a diagram of my configuration
option dest 'lan'
option target 'DNAT'
option name 'WAN-TO-Dev0'
option src 'wan'
option src_dport '9200'
option dest_ip '192.168.68.1'
option dest_port '22'
with tcpdump I see that output is from 192.168.1.1 to 192.168.68.1, and to get a reply back, it needs to come from 192.168.68.0, but if I set that IP address to receive from wan, and changing the port to 9000; otherwise it will get re-directed to openwrt, as soon I set port 9000 I get a "Connection refuse"
I'm not IT, so sorry if I'm missing a big concept here.