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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2002, 02: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, 06: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, 09:14 AM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
also did you enable the port forwarding to the specific IP address for your linksys router.. ??
|
|
|
04-18-2002, 11: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, 12:08 PM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
04-18-2002, 03: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, 03: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.
|
|
|
All times are GMT -5. The time now is 11:18 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
|
|