Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
Description
On multi homed machines (2+ network interfaces) it could be very useful to be able to set the source bind address of the originating connection for SshClient(s) connecting to remote SSH servers.
If not set explicitly, the source bind address is chosen between one of the available addresses on the machine.
Sometimes firewalls block/reject TCP connections originating from particular ip addresses but with this new parameter this issue could be bypassed.
Is it possible to add and implement the following method in the ClientSessionCreator interface ?
ConnectFuture connect(String username, SocketAddress local, SocketAddress remote) throws IOException;
The new parameter "local" represents the local source bind address.
Bye.
Roberto
Attachments
Issue Links
- relates to
-
SSHD-832 Allow user to specify local address for port forwarding
- Resolved