[Bug 3386] [FEATURE REQUEST]Option to set client source port.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Feb 1 20:31:50 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3386

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
You can do this with a ProxyCommand such as netcat.  Something like

ProxyCommand nc -p 1234 %h %p

should work.

Note that use a single source port you'll have problems if you try to
use more than one connection at a time (or within 2 minutes of closing
the last one unless the proxycommand supports setting SO_REUSEADDR or
SO_REUSEPORT).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list