Hello Friends:
I've port-forwarded many times, but this is my first attempt at a cascaded port-forwards across two routers, which is not working for me. I must be missing a network setting needed for this case. I'll try to present my issue as simply as I can via bullets.
ISP Cable Modem-IP (LAN-SIDE): 192.168.1.1/24
OpenWRT Router-IP (WAN-SIDE): 192.168.1.2/24
OpenWRT Router-IP (LAN-SIDE): 192.168.0.1/24
End Host (Fedora/Linux) IP (LAN): 192.168.0.36/24
Now, except for Port-Forwarding
, I don't use any feature of the ISP Cable Modem
(not WIFI
, Not Firewall
, Not DHCP
, not anything). Although it's a robust ISP Modem (an ARRIS G36) it's only purpose is getting me to my ISP datacenter.
The end host - 192.168.0.36 Fedora/Linux
- has SSH
port 22
open and, as the following images show, this is what has been cascade-forwarded. (Note: We'll only focus on port-22
since solving for that will solve for everything else).
ISP CABLE MODEM ROUTER (192.168.1.1 WAN):
OPENWRT INTERNAL ROUTER (192.168.1.2 WAN || 192.168.0.1 LAN):
From my cloud webhost port (out on the internet) I try this:
user@cloud$ ssh -p 22 -l user my.wap.ip
but that hangs.
Now, I know that the ISP CABLE MODEM ROUTER forwarding capability correctly works because, when I temporarily forward it to a different Fedora/Linux
Host directly connected to one of it's Ethernet ports (e.g., to 192.168.1.15
) , the above SSH
succeeds - no issues.
The problem is cascaded hops from the ISP MODEM to OPENWRT ROUTER to above mentioned internal Fedora/Linux
HOST (at 192.168.0.36
). It doesn't appear to take the 2nd hop.
Perhaps there's a network parameter I'm missing on OPENWRT (e.g. hop count or TTL). Again, this is the first time I've every tried a multi-hop / cascaded scenario.
Any help or guidance would be appreciated. Thank you all in advance!