[nanomsg] Re: off topic: traversing http firewalls

  • From: Garrett D'Amore <garrett@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Wed, 25 Feb 2015 13:11:23 -0500

> On Feb 25, 2015, at 1:06 PM, Jason E. Aten <j.e.aten@xxxxxxxxx> wrote:
> 
> Only tangentially related to nanomsg:
> 
> What do you guys use to go through http-only (port 80) firewalls?
> 
> I'd like to find a golang library capable of tunneling ssh through an http 
> firewall. I'm not worried about https, but strictly http.
> 
> There must be some library already available/recommended?

Um, SSH itself?  I mean, you can ssh to port 80, and if the far end speaks SSH, 
and is listening on port 80, then its all good.

If you want to proxy SSH and *other* things over port 80, you’d have to invent 
a protocol to do that (basically passing SSH inside HTTP frames or handing off 
a socket — probably making use of WebSocket would be a good idea and does the 
latter.  The problem is that websocket has its own message framing, so you’d 
have to implement that framing in your client.)

Other methods involve the use of generic VPN clients.  (OpenVPN does this.)

        - Garrett


Other related posts: