9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] punching through firewalls...
@ 2013-12-10 15:06 Steve Simon
  2013-12-10 16:56 ` Conor Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2013-12-10 15:06 UTC (permalink / raw)
  To: 9fans

Hi,

In order to get remote access through a firewall I
currently have a script which I run on the inside
of the firewall which posts a file descriptor I
can mount from home.

while(~ true true){
	cpu -h home -c 'rm -f /srv/work ; srvfs work /mnt/term ; while() sleep 600 '>[2] /dev/null
	sleep 10
}

so at home I just:

	mount /srv/work /n/work
	bind /n/work/net /net.alt

This works but the performance is not great espicially
if I cpu into the work machine from home:

	cpu -u /net.alt/tcp!work

I assume the lack of zip is due to the multiple 9p round
trips necessary to establish the connection.

Is there a more elegant, and hopefully more performant way of
do this using import -B?

failing that any other techniques?

sadly ssh -R isn't very useful on plan9 (I think).

-Steve



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-10 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10 15:06 [9fans] punching through firewalls Steve Simon
2013-12-10 16:56 ` Conor Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).