LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2006, 10:03 AM   #1
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Rep: Reputation: 15
Telnet/Web server OUTSIDE my router problems


This might be a question more suited for the networking forum, but I am a noob so its quite possible I am missing something simply

I have a box running fedora 2... I have it set as a telnet/webserver.

INSIDE my little network, I can telnet to it and see the webpage from both the internal IP and the IP shown on my linksys router that I would of thought was the external IP..

However, in testing with a friend, he cannot see me to telnet or see the webpage. I have ports 21-23 and 80 open. I have also attempted getting the ip by taking the cable modem and connecting directly to another machine to get the ip.

I guess my question is, am I missing something on the linux box itself that would allow me to connect to it from outside the router? Or is this most likely just a router issue?
 
Old 01-12-2006, 10:18 AM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Could be a router issue. Connect everything to your cable modem, get your public IP (http://checkip.dyndns.org among others) and have a friend connect to that. If that doesn't work, check that the correct ports forward to the correct LAN IP addresses. Make sure your server's/router's firewall isn't blocking incoming requests on those ports.

If all else fails, your ISP could be the culperate. Many large ISPs have taken to blocking all incoming traffic on common ports, e.g. 25, 80, etc., in an effort to stop certain types of malware.
 
Old 01-12-2006, 10:18 AM   #3
rmakers
Member
 
Registered: Jan 2005
Location: Ann Arbor MI
Distribution: Mandriva 2006
Posts: 99

Rep: Reputation: 15
Internet provider

It is possible that your internet provider is blocking those ports to prevent you from serving, I have heard comcast does this although I am certainly no expert in this kind of stuff. I believe you can serv it though some wierd port and just type that port in with the address to get to it.
 
Old 01-12-2006, 12:14 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Another thing to note is that you really shouldn't use telnet outside your home network. It's not very secure. You should use ssh.

And just in case you don't understand what rmakers is saying, you can configure your web server (presumably apache) to work off of port XYZ instead of port 80 and then when you want to access it, type http://xxx.xxx.xxx.xxx:XYZ.
 
Old 01-12-2006, 04:21 PM   #5
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Original Poster
Rep: Reputation: 15
turns out

comcast does not block the ports, so i attempted to check the ip with that site from the linux box and i had no connection to the internet, just the local network

it was set to a static ip so i assume my gateway or dns was set wrong..

i have it set to dhcp for the moment and it seems to be working
 
  


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
Router/Web Server/ Printer Server EldinTux Linux - Networking 2 04-11-2005 01:48 PM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 06:44 PM
web,ftp server behind a router bashrc2 Linux - Networking 3 04-26-2004 07:45 PM
RH 7.1 Server, Linksys Router, telnet not stable calebsg Linux - Networking 2 10-10-2002 08:05 PM
router, name server, web server, ssh, mailserver dilberim82 Linux - Security 9 07-26-2001 07:14 AM


All times are GMT -5. The time now is 01:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration