From mboxrd@z Thu Jan 1 00:00:00 1970 References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-5--215857952" Message-Id: Content-Transfer-Encoding: 7bit From: Anthony Sorace Date: Thu, 11 Aug 2011 17:39:50 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] looking for advice for network setup Topicbox-Message-UUID: 117eee24-ead7-11e9-9d60-3106f5b1d025 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-5--215857952 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii i'm not 100% clear on what you're after, but when i had a similar setup, = i wanted to be able to get at my home (NATed) data from work. to do so, i have a script called postroot [1] which, when cpu'd into a server posts = the root of the calling terminal as foo.root, where foo is the calling = terminal. i could then "mount /srv/foo.root /n/foo" or similar to get at my home = box. it was occasionally useful to be able to use the home network connection from outside, too. for that, i have a script called tun[2] which mounts = the network connection from a named root (previously posted with postroot) and connects using that. there's no special server needed; this is all using the standard tools. = i'm not clear what you mean about giving terminals an updated namespace. you could stick an entry in cron on the NATed system that calls postroot on the real-world server. in that case postroot ought to do a bit more error checking and probably try the existing connection before removing and replacing it. the structure, and possibly the actual scripts (i don't remember) came from someone in #plan9, possibly maht. [1] /n/sources/contrib/anothy/bin/rc/postroot [2] /n/sources/contrib/anothy/bin/rc/tun --Apple-Mail-5--215857952 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) iEYEARECAAYFAk5ETDYACgkQyrb52b5lrs5U0wCfYR/L4fCEOSYaY2wde+AO0Q7k zSsAn0CBBS+fVNX8eilK1tfed45Cgr48 =196E -----END PGP SIGNATURE----- --Apple-Mail-5--215857952--