Home » Questions » Computers [ Ask a new question ]

SSH to computer with shared public IP and no admin rights over the router

SSH to computer with shared public IP and no admin rights over the router

I live in a student dorm (off-campus) and all students of the dorm share the same WAN IP (Internet or public IP), which is fortunately static. I am not an admin and have no control over the router that assigns private IPs to all of the students, so I can't really forward port 22 to my computer.

Asked by: Guest | Views: 263
Total answers/comments: 2
Guest [Entry]

"If you have access to another Linux box, out on the Internet, then you can connect from your dorm to it, and set up a reverse ssh tunnel. Then, when you leave your dorm, connect to that box and tunnel back through to your dorm machine.

You might need a cheap shell account somewhere, or get a friend to hook you up with an account on their box. Or maybe you have a shell account with your school that you can use for this.

In order to keep the ssh tunnel alive, refer to this question."
Guest [Entry]

"If you don't have control over the ""router"" (really a NAT box), then if it's setup to respect UPnP requests, perhaps you can use that to tell it to open an incoming port for you.

Otherwise you'll have to tunnel in from some other machine with a real IP somewhere."