Re: Port forwarding and ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux