~kvik/wiki.9front.org

8ee53648d03717755391329a02d2784f9d7424be — kvik 1 year, 1 month ago b962b3f
9p-on-unix: add section about 9pfs+tlsclient (thanks foura)
1 files changed, 15 insertions(+), 0 deletions(-)

M 9p-on-unix.md
M 9p-on-unix.md => 9p-on-unix.md +15 -0
@@ 26,6 26,21 @@ by binding `/mnt/term/net` over `/net` and starting exportfs(1) like shown in th
It requires 9pfs to be installed.
A side bonus of doing it this way is, that it uses the drawterm's aan connection to keep the 9p connection up.

## 9pfs and tlsclient (dp9ik / rcpu)

It is possible to use moody's [tlsclient](https://git.sr.ht/~moody/tlsclient)
UNIX port for authenticated tls-encrypted 9p connections using the following
script:

	#!/bin/sh
	export CPU=<cpu server>
	export AUTH=<auth server>
	export USER=<username>
	export PASS=<password>
	
	socat unix-listen:/tmp/9psock exec:"9cpu -r /" &
	exec 9pfs -U /tmp/9psock /mnt

## v9fs

The Linux kernel contains a 9p driver that can be made to mostly