I have a Nokia M1122 ADSL modem. Sitting behind the modem is a firewall appliance (IPCop). The problem is that I can't set up ssh connections from out on the internet. It should be as simple as opening up pin holes to forward ports through my modem and firewall, but I can't get it to work.
What I want to do is allow authorized ssh connections from the internet through the modem and through the firewall. The ssh ports are not standard (12345 and 2220). I want one connection (2220) to go to the firewall, and the other (12345) to go to a PC on my network with a static address. No matter what I have tried, I don't seem to be able to break through the modem. When I try to ssh in from the internet, I get "connection refused".
It appears that the modem is blocking ssh connection attempts. The modem is setup on Telecom. I use dyndns to get the telecom IP. On my side of the network, all IP addresses are static. I don't need the modem firewall features so I have tried turning off NAPT, but then I can't connect out to the internet. I have ticked all the "bridge" boxes. I have tried setting up pinholes through the NAPT page, but my firewall doesn't record any successful hits. Stateful Packet Inspection is disabled.
I have the firewall set up to forward the 12345 port onto the internal PC.
Has anyone successfully set up a Nokia M1122 to allow external ssh connections to pass through???
If so, how is it set up?