How to access a server connected to a University network?

0

In my University, my professor provided us with his server address, but he said that we can only access his server through our University's wireless network.

He also said, there is a way to access his server from outside.

Our University's server is Polaris and I can connect to my university server using telnet and my user name/password.

What is the available way to browse my professor's web page from out campus that is on his own server that is connected only to the university server.

malhobayyeb

Posted 2013-03-26T00:30:50.200

Reputation: 463

Can you only use telnet or do they allow SSH as well? Telnet is a bit outdated an much less secure, but that is beside the point. If you can SSH I would tunnel in (and will add an answer with how if you can). – nerdwaller – 2013-03-26T00:45:19.120

They allow SSH but I do not know it. He also said that SSH is the way he meant. Yes please put an answer. – malhobayyeb – 2013-03-26T00:51:12.937

You'll probably should contact the university networking team and get an answer. Having us attempt to crack the university network is not really an appropriate type of question. – mdpc – 2013-03-26T03:14:25.807

@mdpc is this considered cracking? – malhobayyeb – 2013-03-26T03:52:21.987

2@mdpc this isn't cracking; he's asking how to legitimately access university resources from off-campus. Setting up ssh tunneling for authorized use is neither illegal, unethical, nor "cracking". – nhinkle – 2013-03-26T04:46:17.977

Does your university provide some kind of a VPN? Most do .. – Hari Sundararajan – 2013-03-26T07:11:47.000

Answers

1

Since SSH is allowed, I would do a simple SSH tunnel, something like what is discussed in this post.

I was going to write it all up, but found this page that does it much better than I could have. As a summary:

In Linux/Unix/Cygwin:

ssh -C2qTnN -D 9090 username@server

This sets up a socks proxy for it, and requires you to then tell your browser to use port 9090 for traffic (follow the link above for that). (9090 is used because it's a non-reserved port on the system, though typically I use 8080 which is the common alternate to the one used for normal HTTP traffic (80)).

On Windows, the link shows how to establish this via puTTY - I have tried both ways previously and had success (Cygwin on windows, in my linux terminal or using Putty).

nerdwaller

Posted 2013-03-26T00:30:50.200

Reputation: 13 366

1I set up my tunnels using PuTTY via the command line (Windows) by doing "ssh -R 9090:127.0.0.1:22 username@server" where 9090 is the port I am running the tunnel over. – cutrightjm – 2013-03-26T01:06:41.207

Definitely a good way to do it, that's how mine is currently set-up(similar, anyways). I just didn't want to go into setting up environmental variables and such for the OP. Thanks @ekaj – nerdwaller – 2013-03-26T01:09:23.120