From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20090725163952.GA25352@finiteless.net> References: <1001eb37c560440120c5c5ad6feaee55@quintile.net> <5d375e920907250543x503b7509t4ffa41e9654a4a78@mail.gmail.com> <20090725163952.GA25352@finiteless.net> Date: Sat, 25 Jul 2009 09:55:16 -0700 Message-ID: <7d3530220907250955r56a13db8pf83e00861d4e5c41@mail.gmail.com> From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] plan9port behind corporate firewall with no DNS or port access Topicbox-Message-UUID: 2ce12382-ead5-11e9-9d60-3106f5b1d025 On Sat, Jul 25, 2009 at 9:39 AM, Salman Aljammaz wrote: > Uriel wrote: >> If your work firewall proxies port 80, then things get trickier, you >> could mount sources on the home inferno instance, and then export it >> using mjl's httpd as a read-only http 'tree'. > > assuming you've got openssh, one trick i used to do back in school was > run sshd on on port 443. > > you can then forward specific ports (-L) or even run socks (-D) on ssh. > > salman > > > If you have even one single port open outgoing, all you need is to get a remote Plan 9/Inferno exporting /net on that port. I did it on port 22 while I was waiting for the import port to be opened. #on the outside box aux/listen1 -t 'tcp!*!22' /bin/exportfs #from the inside import -A tcp!remote!22 /net You're using p9p so your mileage may vary... but the basic concept is sound and allows you to completely avoid the firewall, assuming you can actually use a remote /net on p9p. If not, well, you should run a real Plan 9 :) John -- "I've tried programming Ruby on Rails, following TechCrunch in my RSS reader, and drinking absinthe. It doesn't work. I'm going back to C, Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba