Defining an SSH source port ?
Hi
When one connects to an SSH server running on a non-standard port ( i.e. not port 22) it is straightforward to alter the command syntax so you can connect to this port. Is it possible to define the source port from the local machine ? For example, can you define the source port on your local machine to be 12345 as opposed to another port chosen by your system ? thanks c |
As far as I know, there is no way to do this. Are there any programs that can bind a specific source port? Now, I am curious.
|
Source ports are dynamically assigned by OS which can be tuned by setting kernel parameter net.ipv4.ip_local_port_range but that will take effect for all applications.
|
All times are GMT -5. The time now is 08:50 PM. |