LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-23-2007, 01:04 PM   #1
azamo
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Rep: Reputation: 0
Unhappy Wireless network IP addresses


I'm trying to access my home computer from outside of my wireless network by ip, but when i find the ip of my home computer and type it into my other one it turns out to be my router. How do i find my real ip address in my wireless network?
 
Old 09-23-2007, 01:16 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
You probably have NAT enabled on router, so it is quite possible your computer just does not have any IP which can be accessed from outside.. You can do port forwarding on your router, though (i.e. you connect to your router's IP to some port, and router makes it look like you just connected to your home computer to this port). Details of configuration process depend on router. Be careful not to open too many, though. And ip can be learned by 'ifconfig' or 'ip addr'.
 
Old 09-23-2007, 01:37 PM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
There is some decent general explanation here:

http://www.vmware.com/support/ws55/d...nalaccess.html

although it's from the reference point of vmware.

And, there is a detailed tutorial here:

http://lifehacker.com/software/featu...all-127276.php

It uses a netgear router, and you might have something different, but the ideas are all there with detailed commands and examples from beginning to end.
 
Old 09-23-2007, 02:07 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You can goto this address and get your external IP. http://www.whatismyip.com/

Next you need to setup port forward to forward certain address from the external IP to the internal lan IP. Docs from maker of the router should help.

Or on many routers you can define a DMZ which will allow one internal lan machine to be complete seen on the wan external side like it was actually the external IP. Not the smartest idea unless the machine you define is well protect with firewall rules and security patches applied to all running services.

To see if port is open goto here and use the advanced port scanning tool.
http://www.hackerwatch.org/probe/

Things you may run into.
Some providers block common server ports so you may have to do this. Start with high range ports.
Example forward port 22 sshd connection if port 22 is blocked.
External IP port 10001 forwarded to Internal IP port 22
So with this setup you use the external IP and port 10001 and it conects to lan IP port 22.

Other thing is testing portforwarding from with in your network. Many store bought routers lack the ability to use the external wan IP. So for instance you have a web server running with port 80.
You type the lan ip from with the lan network in a web browser and it comes up.
You type the wan IP from outside from a remote site in a web browser and it come up.
Now if you type the wan IP from with in your lan network it usually will not come up.

Brian
 
  


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
What do I need to set up a network with multiple IP addresses? kerinism1 Linux - Networking 10 10-06-2007 05:33 AM
Doubt in network addresses sunils1973 Linux - Networking 4 09-09-2007 12:01 AM
How can I scan my network for IP addresses? dbc001 Linux - Software 4 08-06-2006 02:31 PM
How to find IP addresses on a network dubya Linux - Networking 2 09-23-2004 03:27 AM
certain addresses through certain network cards heathpitts Linux - Networking 1 02-26-2004 06:10 PM

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

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