Re: Port forwarding and ssh

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

 



> Am So, den 17.10.2004 schrieb Eric Tanguy um 22:54:
>
>> 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.
>
>> Eric
>
> Eric,
>
> you should sort out things. As Stewart  Nelson already said,
> toto.homeip.net is resolving to 10.0.0.2. How is this involved in your
> network? How do you do name resolving: with a DNS server or by
> /etc/hosts entries? Check your net being proper configured. If ping from
> toto.homeip.com gives back pong, then ssh is not running on that machine
> or is blocked by iptables if you get back "connection refused". The
> Fedora iptables rules are stored in /etc/sysconfig/iptables. Please read
> http://www.netfilter.org documentation about iptables to understand what
> you need to do.
>
> Alexander

Sorry for the problem but i solved it : in fact all was well configured
the only problem was from my NAT router which does not accept port
forwarding and nat access from an inside machine through the outside. I
try this morning to ssh from my work to my home without any problem. The
only problem i still have is : when i'm connected from work to my front
machine by ssh and port forwarding and i try to ssh to another machine
inside my private network i obtain, after the password, permission denied
but i have to test also at home directly from the front machine to another
one inside my network.
Eric




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

  Powered by Linux