Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
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.
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.
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 ?
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........
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.