commit - 97b5d46faaf0295397b8ac10736936cdcd7f583c
commit + 8947862e3e7a03e5e7cabc441ca70c016a7f5bed
blob - 96603e67cab9f369059ecaee92f04287b841df51
blob + 1081ab94e94d21c43eddc424f5fd22ce4d9964c0
--- lstun.1
+++ lstun.1
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: November 20 2021$
+.Dd $Mdocdate: November 23 2021$
.Dt LSTUN 1
.Os
.Sh NAME
.Sh SYNOPSIS
.Nm
.Bk -words
-.Fl B Ar port:host:hostport
+.Fl B Ar sshaddr
.Fl b Ar addr
.Op Fl t Ar timeout
.Ar destination
tunnel is established by running
.Bk
.Pa /usr/bin/ssh
-.Fl L Ar port:host:hostport
+.Fl L Ar sshaddr
.Fl NTq
.Ar destination .
.Ek
.Pp
The arguments are as follows:
.Bl -tag -width Ds
-.It Fl B Ar port:host:hostport
+.It Fl B Xo
+.Sm off
+.Oo Ar bind_address : Oc
+.Ar port : host : hostport
+.Sm on
+.Xc
Fed to
.Xr ssh 1
.Fl L
blob - 1f5f88032b6844ccfbdd46732096e1c681083db7
blob + 90aee5a5f007d52a75b505f44ff7e2fcb631f15f
--- lstun.c
+++ lstun.c
static void __dead
usage(void)
{
- fprintf(stderr, "usage: %s -B port:host:hostport -b addr [-t timeout]"
+ fprintf(stderr, "usage: %s -B sshaddr -b addr [-t timeout]"
" destination\n", getprogname());
exit(1);
}