I have a Pi connected to both Wi-Fi and a cellular gateway but can only SSH into it from the Wi-Fi IP address. Port forwarding is, as far as I can tell, correctly set up on the cellular gateway. I believe that the problem is coming from the IP routing table as described in the second answer of this question and this question.
My current IP routing table looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.0.1.1 0.0.0.0 UG 0 0 0 wlan0
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
I want to be able to SSH from the Wi-Fi or from the Ethernet, but it is only letting me connect via the Wi-Fi IP address. When I try to SSH via the Ethernet connection I get a timeout error.
While I have found similar questions, I have not found a useful answer.