I have an AS/400 on our internal network (192.168.2.250). I can connect to it via telnet just fine, when on the internal network, from any client. We have a DSL internet connection with a single external IP (207.x.x.x) and a Linksys router. I have forwarded TCP port 80 on the Linksys router to a Windows Web Server (internal 192.168.2.100), and it works perfectly.
I similarly want to be able to connect via telnet to the internal AS/400 from the internet. I have forwarded TCP port 23 on the Linksys router to the AS/400 (192.168.2.250), but am unable to connect. I get the message "Could not open connection to the host, on port 23: Connect Failed".
My *DFTROUTE on the AS/400 is set with the appropriate Gateway address (192.168.2.1). I do not have any other Routes specified on the AS/400. No other routing or forwarding is set up on the Linksys.
I have stopped and restarted the TCP services, checked connectivity and pings, and confirmed there are no problems with Telnet since internally it works fine. I have tried adding additional routes on the AS/400, but removed them when they did not work.
I have tried everything I can come up with to connect via telnet externally, but have been entirely unsuccessful. Any help would be greatly appreciated.