On Friday 12 January 2007 18:21, Hozefa Motiwala wrote:
Hi ! I have a Linux box connected to MTNL triband by D-Link Dsl 502 router. The triband connection also has a Live ip. my query is:
1.) I have opened the iptables for ssh port 22, on the linux box but still cannot get to thru from outside. I have connected the router in bridge mode. Please suggest changes required in the router to enable SSH. Thanks
You needn't have to do any configuration on the router if its in bridged mode. Are you sure that its working in the bridged mode and the public IP ( 59.83.xxx.xxx ) is getting assigned to your ethernet interface? ( ethX ) ? Check it out first.
Next, you need to check out if ssh is listening on your ethernet interface or not. For that you'll need to check out sshd's config file. Sometimes with multiple interfaces, sshd listens only on a particular interface and thats where the problem begins.
Also, you needn't use the bridged mode for opening up ssh service to the outside world. You could use portforwarding ( or in some cases "virtual server" ) to make the sshd available over the internet..
BTW which distro are you using?