Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Accessing PC on Uni network, Looking for inbound connections, not out.
Lord C
post Mon, 17 Nov 2008 20:09:15 +0000
Post #1


Hak.5 Fan ++
****

Group: Members
Posts: 68
Joined: Wed, 08 Oct 2008 22:43:26 +0000
From: London
Member No.: 11,158



Okay here's a bit of a challenge.

I know a lot of people are always interested in getting access to the outside world, from a Uni/College network. I'm looking for the exact opposite.

I have a box on a University network, but you know how their firewalls are... I'm trying to think how I can access that desktop from outside the network.

Atm I'm thinking have reverse vnc running on my desktop at home, listening for a connection, then http tunnel out from Uni.

Obviously I can only be in one place at a time, so I'd like to have a couple of ideas up my sleeves before I go in on Friday.


--------------------


Losing your White Hat is like losing your virginity. Once it's gone you never want it back, but there's always the prudes that hang onto it forever ;)
Go to the top of the page
 
+Quote Post
DingleBerries
post Tue, 18 Nov 2008 03:46:04 +0000
Post #2


Hak.5 Uber fan +++
*********

Group: Members
Posts: 1,291
Joined: Tue, 11 Mar 2008 18:11:30 +0000
From: Tennessee
Member No.: 9,434



SSH end of story....


--------------------
Go to the top of the page
 
+Quote Post
Lord C
post Wed, 19 Nov 2008 15:33:50 +0000
Post #3


Hak.5 Fan ++
****

Group: Members
Posts: 68
Joined: Wed, 08 Oct 2008 22:43:26 +0000
From: London
Member No.: 11,158



Can't ssh in.

I'm going to try a tunnel, and maybe get VNC or SSH access that way. But it's not really the program/service (ssh/vnc/whatever) that I'm looking for, it's a way of breaking through the NAT.

Any ideas?


--------------------


Losing your White Hat is like losing your virginity. Once it's gone you never want it back, but there's always the prudes that hang onto it forever ;)
Go to the top of the page
 
+Quote Post
Lazyshot
post Wed, 19 Nov 2008 20:20:03 +0000
Post #4


Newbie


Group: Members
Posts: 5
Joined: Wed, 19 Nov 2008 07:17:36 +0000
Member No.: 11,716



I would love to have a handle on some idea of how to maybe get a reverse connection into the network.
Has me thinking about the network I'm on again. Time to investigate. :-P
Go to the top of the page
 
+Quote Post
Joerg
post Thu, 20 Nov 2008 11:57:48 +0000
Post #5


Hak.5 Pirate
******

Group: Members
Posts: 305
Joined: Thu, 21 Jun 2007 06:15:07 +0000
From: Germany
Member No.: 7,670



If you can't get by the firewall from the outside, you have to go from the inside smile.gif (read: outbound reverse ssh tunnel)


--------------------
joerg@server:~$ cat /var/www/hak5/signature
cat: /var/www/hak5/signature: No such file or directory
Go to the top of the page
 
+Quote Post
Zack Fasel
post Fri, 21 Nov 2008 14:04:23 +0000
Post #6


Newbie


Group: Members
Posts: 3
Joined: Fri, 21 Nov 2008 13:46:01 +0000
From: Chicago
Member No.: 11,763



Joerg is right. There's 3 ways off the top of my head to initiate this from the outside:

1) Corporate Service
Services like GoToMyPC and LogMeIn (has a free version) were designed to handle this. But with this, comes monthly fees and it's not a full connection, just an RDP simulant.

2) Hamachi
Create your own hamachi network, and you'll be able to connect to it as if it's on the LAN (works excellent when you also want to host LAN parties and not worry about port forwarding / a dedicated server). Probably the easiest, and free, but you'll need to install hamachi, so if you're using public terminals that you don't have admin rights on, you're SOL.

3) Make your own ReverseSSH/VNC Connection
Two ways i can think of doing this:
a ) Having a dedicated/virtual private server to forward this to (pricey, but you can do so much more with the VPS and you'll have a public IP presence) - You could always find a friend and bum a port and some bandwidth off of him.
b ) Hack it - Setup a Cronjob or Scheduled Task to phone home to a website constantly, pull a file that gives an IP and port, and reverse tunnel to that IP/Port. Make sure you check the public keys if you do attempt to do this to prevent any kind of hijacking attempt, and this won't get you arround a firewall if you're behind one on your side.

My personal recommendation is do number two if you're trying to do it quick, easy, free, and 3a if you're looking to have some fun and have the most felxibility - just watch your bandwidth usage over that link.
Go to the top of the page
 
+Quote Post
Lord C
post Tue, 25 Nov 2008 16:23:45 +0000
Post #7


Hak.5 Fan ++
****

Group: Members
Posts: 68
Joined: Wed, 08 Oct 2008 22:43:26 +0000
From: London
Member No.: 11,158



Thanks people. I'll give Hamachi a try, but I have my doubts about it connecting.

If it doesn't I'll have to go with a reverse conn.


--------------------


Losing your White Hat is like losing your virginity. Once it's gone you never want it back, but there's always the prudes that hang onto it forever ;)
Go to the top of the page
 
+Quote Post
ax0n
post Sun, 30 Nov 2008 22:27:12 +0000
Post #8


Hak.5 Fan +
***

Group: Members
Posts: 38
Joined: Sat, 29 Nov 2008 18:55:03 +0000
From: ~ 39.00,-94.00 (Kansas)
Member No.: 11,903



QUOTE (Lord C @ Tue, 25 Nov 2008 16:23:45 +0000) *
Thanks people. I'll give Hamachi a try, but I have my doubts about it connecting.

If it doesn't I'll have to go with a reverse conn.

Here's a write-up I did in response to this thread. It was blog-post worthy and a bit lengthy for a forum reply.


--------------------
Go to the top of the page
 
+Quote Post
Lord C
post Mon, 01 Dec 2008 09:45:58 +0000
Post #9


Hak.5 Fan ++
****

Group: Members
Posts: 68
Joined: Wed, 08 Oct 2008 22:43:26 +0000
From: London
Member No.: 11,158



Nice write-up Ax0n, thanks.


--------------------


Losing your White Hat is like losing your virginity. Once it's gone you never want it back, but there's always the prudes that hang onto it forever ;)
Go to the top of the page
 
+Quote Post
ax0n
post Mon, 01 Dec 2008 09:56:44 +0000
Post #10


Hak.5 Fan +
***

Group: Members
Posts: 38
Joined: Sat, 29 Nov 2008 18:55:03 +0000
From: ~ 39.00,-94.00 (Kansas)
Member No.: 11,903



QUOTE (Lord C @ Mon, 01 Dec 2008 09:45:58 +0000) *
Nice write-up Ax0n, thanks.


No problem. I've been meaning to put something like that together for a while. You just prodded me into thinking of ways to trigger the reverse connection -- which is where I kind of got hung up when I was putting together the "quick and dirty tunneling" article. I was in a hurry when I wrote that one in February. Plus, I needed something to pass time. In another terminal, I was compiling Firefox 3 from source in NetBSD on a 110MHz SparcStation 20. An arduous process, rest assured.


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: Thu, 29 Jul 2010 16:34:46 +0000