So I've been doing some researching and I havent had a huge amount of luck.
I'm trying to ssh between my traveling laptop and my home server. The server is behind an apartment controlled router(ie. i can't set up port forwarding) and the laptop is usually behind a university controlled router(ditto). How do i ssh between the two?
Ideally i'd like to use it to stream music and get files via sshfs. I currently have a remote server that will work to set up reverse tunneling, but i'm interested in shutting that down.
I'd prefer a direct connection, so I've looking into udp hole punching in the form of pwnat, but i can't seem to get it to work.
Any suggestions? Or is there a much easier way?
ps. an idea just struck me. I'd be alright with running the remote server for a brief period in the day to set up a connection between my laptop and the home server, in other words, traditional udp hole punching: http://en.wikipedia.org/wiki/UDP_hole_punching
however i have no idea how to set that up.
Do you mean via the router? I was trying to say that since it's the apartment wide router they have password protected it so the tenants can't fiddle with it. I can't change any settings on it.
OK.. I misunderstood. Your apartment complex gives you inet service via their equipment. Since both ends of your connections are owned by someone else and you cannot setup a forwarding on either, I think you're stuck. Perhaps someone else with more experience can suggestion something else.
You might try and talk to those guys that manage your network at home, maybe you can get some port forwarding set up that way.
If you set up a free VPN like Hamachi (https://secure.logmein.com/products/hamachi/), you should be able to do it. Both computers have to be logged into the same Hamachi network, but that shouldn't be a problem.
Such is life in glorious Arstotzka.