X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/07212ba4fe69d4939492c67d482d017deafda9cd..d36eda2aa8c5e9d22216d748f32af8083f2a1a69:/doc/pkstream.1 diff --git a/doc/pkstream.1 b/doc/pkstream.1 index 62aee14c..f0f5bdb5 100644 --- a/doc/pkstream.1 +++ b/doc/pkstream.1 @@ -38,6 +38,8 @@ pkstream \- forward UDP packets over streams .IR port ] .RB [ \-p .IR addr ] +.RB [ \-b +.IR addr ] .RB [ \-c .IR addr \c .BR : \c @@ -56,7 +58,7 @@ using some kind of port forwarder like .BR ssh (1), .BR stunnel (1), etc. It's intended, among other things, to provide a transport for -.B tripe (8) +.BR tripe (8) packets where there are annoying firewalls in the way. .SS "Command-line arguments" The two @@ -95,12 +97,22 @@ Listen for connections on the given TCP Only one connection is allowed at a time. When a connection is accepted, forward UDP packets over the TCP stream until it closes; then wait for another connection. +.TP .BI "\-p, \-\-peer=" addr Only accept TCP connections from .IR addr . This option only makes sense in conjunction with .BR \-l . .TP +.BI "\-b, \-\-bind=" addr +When making a connection (see +.B \-c +below), use +.I addr +as the source address rather than letting the kernel choose the address +automatically. This is useful when the other end will only accept +connections from a particular address and you get the wrong one otherwise. +.TP .BI "\-c, \-\-connect=" addr : port Connect to the given .I addr @@ -126,4 +138,4 @@ find one, please inform the author .BR stunnel (1), .BR tripe (8). .SH "AUTHOR" -Mark Wooding, +Mark Wooding,