Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-18-2002, 01:37 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2002
Posts: 2
Rep:
|
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.
|
|
|
|
04-18-2002, 05:10 AM
|
#2
|
|
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316
Rep:
|
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
|
|
|
|
04-18-2002, 08:14 AM
|
#3
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
also did you enable the port forwarding to the specific IP address for your linksys router.. ??
|
|
|
|
04-18-2002, 10:17 AM
|
#4
|
|
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316
Rep:
|
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.
|
|
|
|
04-18-2002, 11:08 AM
|
#5
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
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 11:12 AM.
|
|
|
|
04-18-2002, 02:39 PM
|
#6
|
|
Member
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472
Rep:
|
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. :-)
|
|
|
|
04-18-2002, 02:41 PM
|
#7
|
|
Member
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:11 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|