LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-27-2005, 09:48 PM   #1
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Testing open ports, behind a router


Hi people,

I'm kind of new to networking, I googled and searched this site, but could not find a good answer to my doubts about networks:

1 - I'm behind a router, and I had the router admin configure it to pass 3 ports directy to me, so others could connect to my PC using those ports. How can I know that it worked??? How can I test if those ports would trully receive connections??

2 - I seam only to be able to see my IP from within my local network. I mean, when I try to find out my IP I do not see a true IP, I get something in the range of reserved IPs for local nets. When another person is connection to my machine it should connect not to this IP, but to the IP with witch people all over the world see my internal network. How can I find this IP???

Thanks,

Felipe
 
Old 06-27-2005, 09:55 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you are behind a router that performs NAT, you SHOULD be getting a "local" IP address. That is perfectly normal.

If you want to test it, you'll need to try to access those ports from OUTSIDE the routed network.
 
Old 06-27-2005, 10:02 PM   #3
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Matir If you want to test it, you'll need to try to access those ports from OUTSIDE the routed network. [/B]
But, how can I find the IP with witch people outside my network see me???
 
Old 06-27-2005, 10:13 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, the router has that information. Also, there are webpages out there that can tell you that.
 
Old 06-27-2005, 10:17 PM   #5
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Original Poster
Rep: Reputation: 30
Thanks!

I'm gonna try using sshd to test the port...
 
Old 06-27-2005, 10:19 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Good like. Remember it must be from outside the router. (This is for complex technical reasons regarding tcp/ip)
 
Old 06-28-2005, 07:03 AM   #7
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
checkout http://whatismyip.com/

to see your OUTSIDE IP
 
Old 06-28-2005, 08:50 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Oooh, good link heema. I have to remember that one, obvious as it is.
 
  


Reply



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 safecom 4port adsl open ports? cormack Linux - Hardware 2 11-01-2005 03:24 PM
How do I open ports on my generic conexant PRI PAE CE84 router scarymary Linux - Newbie 1 04-29-2005 12:14 PM
How to open ports on D-Link router TazG Linux - Hardware 6 07-20-2004 03:42 PM
Stealthing Open Router Ports ghight Linux - Security 8 02-19-2004 10:05 AM
open ports on a router? riddlebox80 Linux - Hardware 3 04-21-2003 08:41 PM

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

All times are GMT -5. The time now is 07:22 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