> From: "Marc Mongeon" <[EMAIL PROTECTED]> > To: <debian-user@lists.debian.org> > Subject: Re: IP > > It looks like some gateway between you and the host you're trying to telnet > to is acting as a firewall and blocking the telnet port (23). I believe the > "no route to host" error is consistent with that situation. It might also > be possible that you're not running telnetd on that host, or that you've > disabled access through /etc/hosts.deny or through firewalling rules on the > host itself. Some things to try: > > 1. Verify that the telnet daemon is enabled. In /etc/inetd.conf, this > line should not be commented out: > > telnet stream tcp nowait root /usr/sbin/tcpd > /usr/sbin/in.telnetd > > 2. At least temporarily, set /etc/hosts.allow like this to allow access > from any machine: > > ALL: ALL > > 3. Check your firewalling rules: > > $ ipfwadm -Il > $ ipfwadm -Ol > > Look for "deny" rules on the telnet port. > > Post your results to the list. Good luck. > > Marc > > >>> luis <[EMAIL PROTECTED]> 12/21 2:11 AM >>> > hello > > when i connect using ppp and get a dynamic IP as 195.243.107.221 i can > not make a telnet to me from another machine > > from another machine (cenected using eth0) i can ping to the machine > using ppp, but when i try to make a telnet to the ppp machine i always > get the following: > > trying 195.243.107.221 > telnet: unable to conect to remote host: no route to host > > my IP always gives me a dynamic IP as 195.243.107.xxx > > the gateway is: 195.243.104.1 > > i can make outbound services: web, ftp, email (out and in), etc > > but i need inbound access to that machine with ppp > > where is the failure? in my end? with my ISP? > > i believe that the IP of the gateway is reserved, and that the IP > given to me are C class, does this have some influence? > > is possible to make a telnet to my machine using these IPs ? > > thanks a lot > > erasmo >
hello here are my results: mictlan:~# cat /etc/inetd.conf|grep telnet telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd mictlan:~# cat /etc/hosts.allow sendmail: all # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5), hosts_options(5) # and /usr/doc/netbase/portmapper.txt.gz # # Example: ALL: LOCAL @some_netgroup # ALL: .foobar.edu EXCEPT terminalserver.foobar.edu # # If you're going to protect the portmapper use the name "portmap" for the # daemon name. Remember that you can only use the keyword "ALL" and IP # addresses (NOT host or domain names) for the portmapper. See portmap(8) # and /usr/doc/netbase/portmapper.txt.gz for further information. # # only temporarily ALL: ALL mictlan:~# ipfwadm -Il Generic IP Firewall Chains not in this kernel mictlan:~# ipfwadm -Ol Generic IP Firewall Chains not in this kernel i continue without being able to make a suucessful telnet to my ppp machine. when this machine (mictlan) is conected using eth0, everything is ok, is just as any other server problems arise when i use the modem to conect to the net, via ppp0. it justs can not establish the telnet conection here are some results of tre tries to establish a telnet with the machine using ppp: $ ping -R -c 1 195.243.107.53 PING 195.243.107.53 (195.243.107.53): 56 data bytes 64 bytes from 195.243.107.53: icmp_seq=0 ttl=238 time=222.5 ms RR: aztlan.fb10.tu-berlin.de (130.149.13.129) 130.149.7.5 130.149.8.1 KR-TU-Berlin1.WiN-IP.DFN.DE (188.1.1.110) TU-Berlin1.WiN-IP.DFN.DE (188.1.162.38) ZR-Berlin1.WiN-IP.DFN.DE (188.1.144.105) ZR-Frankfurt1.WiN-IP.DFN.DE (188.1.144.54) ZR-Hamburg1.WiN-IP.DFN.DE (188.1.144.21) ZR-Hannover1.WiN-IP.DFN.DE (188.1.180.25) --- 195.243.107.53 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 222.5/222.5/222.5 ms $ telnet -d 195.243.107.53 Trying 195.243.107.53... setsockopt (SO_DEBUG): Permission denied telnet: Unable to connect to remote host: No route to host problems in my end? change of ISP? thanks a lot