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 - 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 05-29-2005, 11:08 PM   #1
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Rep: Reputation: 30
connecting to a computer in a Lan from outside


I am outside a university,which has a well-built lan and I want to connect to a computer inside the lan.I have the required login and password of the comp .(In fact ,its my own comp).
How can I do this?

TIA

tinku
 
Old 05-30-2005, 12:52 AM   #2
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
You should ask your university network admin. For example on my lan, the local IP range is not accessable from the outside (by choice) and would have to be changed on my server.
 
Old 05-30-2005, 10:27 AM   #3
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
You will need to establish a VPN to connect the two networks/computers. Again, you will need to contact your network administrator. Policy may not allow VPN and as such the ports you need to establish the VPN may be blocked.
 
Old 05-30-2005, 10:45 AM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
What exactly do you want to access...

What do you want to access on this box inside your university network?

What is the OS running on this box?

It is possible that you can use SSH to access this box using the remote port forwarding ability in SSH.

I use this the other way around (local port forwarding) to tunnel my insecure traffic (telnet, FTP) from an untrusted network into my home network. There have been articles on this in Hacker Quarterly this year.

MrKnisely
 
Old 06-02-2005, 09:46 PM   #5
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
The likely answer from you university admin will be no. Because of security concerns. Unless the admin is a complete momo, he will have blocked the ports. There is also another concern. If the University is assigning valid IP addresses by DHCP (Not PRivate IPs) You would need to know the current IP address of your computer everytime you wanted to connect.

If you do happen to get permission then you would first need to determine if it is a private IP or a global one. Next you would need to determine if your IP is static, DHCP or static DHCP. If it is only DHCP then you will need to use a Dynamic DNS service to register that IP and have a client running on that computer updating the DDNS. Once this is accomplished you could use any number of VPN solutions. It would depend on your needs and the OS running on the computer you are accesing. Also the OS you connect with is a determining factor as well. If you are using a windows client a solution like PoPToP might be the answer. Though an SSH tunnel might be attractive as well. If you get permission we wil all help you set it up with more info.

Good luck

Alex
 
Old 06-03-2005, 03:41 AM   #6
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
thank you guys for ur support..........

The following are some of the facts that might just show you the way to guide me.

1)My university administration doesn't allow any such connection officially.
2)The computer located in the lan of the university is totally under my control.......So,i can get it booted in winxp or linux(Suse9.1),whichever is convenient.
3)The ip of the computer that i have in the lan is assigned a private IP(something which is irrelevant ,i guess,while connecting from outside)

charon79m wrote
It is possible that you can use SSH to access this box using the remote port forwarding ability in SSH.

I am not sure........Could you plz elaborate a bit on this on how to set abt the ssh ?


Hope something can be done........

Cheers
Tintin
 
Old 06-03-2005, 05:00 AM   #7
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
I did a brief study on port forwarding using ssh.and came to know that - I should connect to the gateway of my university using ssh port 22.But no such service runs on my university gateway........

Plz help me out..........

TIA
 
Old 06-03-2005, 01:51 PM   #8
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
My dear friend you are pretty much SOL, the fact that the university is running yoour computer on a private ip means you need some way to port forward. That would mean forwarding traffic that comes in on their main IP on a particular port to your computer. If they do not sanction it they wont forward the port for you. There could be a workaround, however. If you have a computer with a public IP or on a home network, that has a router with port forwarding, you can connect from the university lan computer to the middle one and leave that VPN connection running, then you log on to the intermediate computer remotely and use that to access the computer at the university. Other than that you really don't have much of an option.

Alex
 
  


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
connecting to another computer hansi umayangan Linux - Networking 7 03-24-2005 01:17 AM
Software for Connecting to another computer nicksmart234 Linux - Networking 4 09-30-2004 05:41 PM
Software for connecting to another computer nicksmart234 Linux - Networking 3 09-28-2004 05:22 PM
connecting computer to firewall brandonweinberg Linux - Newbie 2 02-04-2004 08:05 AM
Connecting to another computer EnVoy Linux - Newbie 3 04-03-2003 03:41 PM

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

All times are GMT -5. The time now is 02:44 PM.

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