LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2002, 02:37 AM   #1
aruna13
LQ Newbie
 
Registered: Apr 2002
Posts: 2

Rep: Reputation: 0
Unable to ftp/telnet from ouside(internet) to my home network


I am totally new to linux, so please help me out.

I am unable to get telnet and wu-ftp to work on redhat linux 7.2. I am trying to set-up my

own personal network at home. I have DSL connection with linksys router. I have installed

Redhat linux 7.2 on one of my boxes connected to the router. I have turned on the

"Forwarding" ports option of the router for telnet and ftp ports for my ip address.

When I try to ftp from outside to my linux host, and I do a "ps -ef | grep telnet" on my

linux box, I see the telnet connection. But, the telnet actually does not go thro. I would

really appreciate if someone can tell me what I am doing wrong. I can access the internet

outside using telnet/ftp/http from inside my network, but I am unable to come inside from

outside.
 
Old 04-18-2002, 06:10 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Have you checked:

- the services are actually running (ps)
- the services are actually listening on the right port (netstat -l)
- firewall rules on your linux machine
- restriction rules for the service in the xinetd directory
- restriction rules in /etc/hosts.allow and /etc/host.deny
 
Old 04-18-2002, 09:14 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
also did you enable the port forwarding to the specific IP address for your linksys router.. ??
 
Old 04-18-2002, 11:17 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Quote:
Originally posted by aruna13
I have turned on the "Forwarding" ports option of the router for telnet and ftp ports for my ip address.
Trickykid, I purposely left that one out.
 
Old 04-18-2002, 12:08 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
oops.. maybe i should read more closely then. it is strange though it works on his internal network but can't do it from outside his network.. got to be something with the router.

Last edited by trickykid; 04-18-2002 at 12:12 PM.
 
Old 04-18-2002, 03:39 PM   #6
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
with the linksys router, i'm fairly certain that when you lease an IP from the router's DHCP server, it can't forward ports since the DHCP is on (don't know why that is). so turn off the DHCP server for your router, and just assign everything statically. this is how i used to set my tcp/ip settings when i had my linksys with port forwarding enabled:

IP: 192.168.1.50
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS: whatever your isp uses

and then have the router point specific ports to specific machines.

hope this helps. :-)
 
Old 04-18-2002, 03:41 PM   #7
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
oh yeah... and make sure to add the gateway to your routes, since when you set static tcp/ip settings it doesn't add the default gateway to your route tables.

route -n to check.
 
Old 04-20-2002, 03:38 PM   #8
Savedadogs
Member
 
Registered: Mar 2002
Posts: 41

Rep: Reputation: 15
I had a similar problem with RedHat 7.2. I also have a Linksys Router. By default, RedHat activates the linux firewall. Turn it off with lokkit.

http://www.linuxquestions.org/questi...light=firewall
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Home network - Internet sharing Artik Linux - Networking 1 05-09-2005 09:29 AM
problems connecting to the internet via private home network pinzerbib Linux - Newbie 3 04-20-2004 05:27 PM
RHL 9.0 Unable to access Win2k Home Network or internet josh.linux Linux - Networking 5 11-14-2003 01:05 PM
Unable to ping or Traceroute or FTP from local network. retheesh Linux - Networking 3 10-15-2003 07:20 AM
Unable to ftp/telnet from outside to my home network aruna13 Linux - Newbie 3 04-18-2002 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration