1 .\" Copyright (c) 2022 Omar Polo <op@omarpolo.com>
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 .Fl c Ar host Ns Oo : Ns Ar port Oc
25 .Fl l Oo Ar host : Oc Ns port
30 is a proxy for 9p over tls.
31 It listen on a local port for plaintext 9p connections and forwards
32 them to a real server using a TLS-encrypted tunnel and a client
35 The options are as follows:
38 Path to the client certificate to use.
39 .It Fl c Ar host Ns Oo : Ns Ar port Oc
40 Connect to the remote server identified by the given
47 If this option is specified,
49 will run in the foreground and log to standard error.
51 Path to the key of the client certificate.
52 If not provided, it's assumed to be the same as the
55 .It Fl l Oo Ar host : Oc Ns port
56 Listen on the specified address.
62 Produce more verbose output.
71 program was written by
72 .An Omar Polo Aq Mt op@omarpolo.com .
75 opens one TLS-encrypted connection for each incoming connection.
76 A better approach would be to multiplex the traffic to the remote
77 server, akin to what the plan9 kernel does by default.