LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-17-2010, 02:46 PM   #1
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Rep: Reputation: 18
IP Address, domainames, local networks


Hi,
i am a student of computers, we have not studied computer networks in our college yet.

i am very much interested about ip adresses and networking stuff.

like,, all web domain names have ip adresses associated with them.

and each computer in the internet has its own ip address, either static or dynamic.

I am not clear with this ip address topology..

what if i want to get connected to a computer which is in a local network with ip xx.xx.xx.xx and it is connected to internet through a server which has a ip adress xy.xy.xy.xy so it would be like i want to connect like this

(my system)-------> xy.xy.xy.xy -------> xx.xx.xx.xx

i read about reverse shell, but is there any direct way to get connected if i have login id and passwork of a computer inside a local network?

please tell me how this works or else direct me to any tutorial on web.

thanks in advance.
 
Old 03-17-2010, 02:58 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
You can't connect to something behind a firewall unless ports are forwarded to it. What you can do is from inside the firewall make a reverse connection to a server outside and then access back across that.
 
Old 03-17-2010, 04:47 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
http://en.wikipedia.org/wiki/Private_network
 
Old 03-17-2010, 05:24 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Reverse shell? Not the sort of thing they tend to talk about in education, sounds more like you read a hacking forum or tutorial there.
 
Old 03-17-2010, 09:13 PM   #5
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
hi;

@rweaver
thank you all for replying;

@Tinkster
i found that link useful.. that was exactly what i was searching for, but had no idea where to search,,

@jamescondron
hi, actually i know how to establish reverse shell (thanks to some online tutorials ), but i want to know what is basics, why we need to use reverse shell to do that!; how private network work works, yeah i read hacking tutorials too, but that is for gaining knowledge
 
Old 03-14-2011, 05:50 PM   #6
brownk4
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by sd|| View Post
Hi,
i am a student of computers, we have not studied computer networks in our college yet.

i am very much interested about ip adresses and networking stuff.

like,, all web domain names have ip adresses associated with them.

and each computer in the internet has its own ip address, either static or dynamic.

I am not clear with this ip address topology..

what if i want to get connected to a computer which is in a local network with ip xx.xx.xx.xx and it is connected to internet through a server which has a ip adress xy.xy.xy.xy so it would be like i want to connect like this

(my system)-------> xy.xy.xy.xy -------> xx.xx.xx.xx

i read about reverse shell, but is there any direct way to get connected if i have login id and passwork of a computer inside a local network?

please tell me how this works or else direct me to any tutorial on web.

thanks in advance.
As you have said each domain name has its own ip address.This ip address will be received while hosting the domain name(provided by the hosting company).You can find the ip address for any domain names from the website ip-details.comfor free of cost.Regarding network ip address,it can be set by ourself.There are several class(A,B,C,D,E)of ip address are available.From that you can set any one(except some classes reserved for branded company)to your LAN network connections.If not making any sense better try a simple course on networking to get clear idea.sorry...
 
Old 03-14-2011, 07:47 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Here's a great tutorial on subnetting.

You can tell from the HTML that he wrote it some time ago (it used to be on a dot-edu domain). My guess is that he no longer works there and ported it to his personal site, but the principles of subnetting have not changed.

http://www.ralphb.net/IPSubnet/index.html
 
  


Reply

Tags
networks



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
How to view webpages using a global address and a link local address DragonKnight Linux - Newbie 0 12-11-2009 03:26 PM
relay all non-local mail to 1 local address and NOT real destinations manqox Linux - Server 6 09-04-2008 04:13 AM
Find real ip address using link local address, mdns/zeroconf dannemanare Linux - Networking 0 01-17-2008 04:31 AM
Does samba only work on local networks? VirtueTech Linux - Networking 4 07-13-2003 01:25 PM
Masquerading between two Local Networks acpi Linux - Networking 6 06-05-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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