LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   unable to ssh & telnet using Belkin 54G router (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-ssh-and-telnet-using-belkin-54g-router-406303/)

kvellimalai 01-21-2006 05:06 PM

unable to ssh & telnet using Belkin 54G router
 
Hi everyone.

I am currently using Belkin network router 54G for connecting the DSL. I installed RHEL4 recently and i am bale to ping the servers but not able to do a telnet or ssh. Router is using DHCP. I tried to connect from both Linux system and Windows servers. Both i am getting connection refused. I checked the router for any port blocking but couldn't see any. Also, I don't know how to enable ssh or telnet on the router.

Regards
Velli

Brian1 01-22-2006 12:41 PM

Are all linux and windows machines on the same network? Meaning all connected to the lan side of the router?

If so is telnet and ssh setup on the RHEL4 machine?
If they are then is there a firewall running on the RHEL4 machine?
If it is up then run the command as root ' /sbin/service iptables stop '.
Now try connecting to the services.
If that works and wish to run a firewall, then you will need to edit it. SSH can be opened using the gui. Start Menu > System Settings > Security Level.
For telnet (which I recommend not doing since ssh can do it all plus more) is manual edit /etc/sysconfig/iptables. Add a line and make it look like the ssh line is except change port 22 to 23. Might need to be udp versus tcp. Can add both.

Lets go from there.
Brian1

kvellimalai 01-23-2006 06:06 AM

Dear Brian,
Thank you very much for the reply.It works now. I did a mistake while installing. I selected no firewall and hecne couldn't connect. When I enable the firewall everything works fine.

Thanks and regards
Velli


All times are GMT -5. The time now is 09:35 AM.