Port forwarding and ssh

Bao Cao pearlsmm at yahoo.com
Tue Oct 19 04:22:40 UTC 2004


--- eric tanguy <eric.tanguy at physique.univ-nantes.fr>
wrote:

> > 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
It will be highly appreciated if you have a chance to
publish what you did about setup ssh for your home
machine. I am the guy who is still fighting for
that... :-(
Thanks.

Best,
 Cao

> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




More information about the fedora-list mailing list