Port forwarding and ssh

Eric Tanguy eric.tanguy at physique.univ-nantes.fr
Sun Oct 17 20:54:33 UTC 2004


Le dim 17/10/2004 à 20:41, Alexander Dalloz a écrit :
> Am So, den 17.10.2004 schrieb Eric Tanguy um 20:34:
> 
> > I have a simple adsl router and gateway on the configuration i can allow
> > to forward port 22 to a specific machine. But when i try to connect by
> > ssh the machine from outside i have this answer : ssh: connect to host
> > toto.homeip.net port 22: Connection refused. I disable the firewall to
> > make some tries but the same. Is there a special configuration for ssh
> > to allow this ?
> 
> > Eric
> 
> Please show your port forwarding rule(s) which shall do the job. There
> is nothing specific to be set for SSH.
> 
> Alexander
> 
In my adsl router i configure it by web interface with :
in router nat configuration :
port forwarding
service : ssh
protocole : tcp
external port : 22
internal port : 22
ip adress : 192.168.1.11 (internal ip address of the pc)
From another internel pc if i try ssh 192.168.1.11 it works fine but
from the same machine if i try ssh toto.homeip.net i obtain : ssh
toto.homeip.net
ssh: connect to host toto.homeip.net port 22: Connection refused
but if i try ping toto.homeip.net the system answer well.
I also try to disable the firewall of the adsl router but it could be
the iptable of my ssh server but i don't know how to modify the iptable
configuration to accept ssh connections from outside.
Thanks
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041017/3b34a9ef/attachment-0001.sig>


More information about the fedora-list mailing list