Closed zhaoyi0113 closed 6 years ago
In the example from the README, it is set as below value. Where is the machine for IP address 192.168.1.2? Is it a separate host or a different network interface on client host?
It is a different network interface on client host. You have to provide it if you want other machines in client lan to use the tunnel you create.
Ok, thank for your explanation.
You're welcome :smile:
I am able to use this library to create a ssh tunnel. But what I don't understand is the
localAddr and localPort
. In the example from the README, it is set as below value. Where is the machine for IP address192.168.1.2
? Is it a separate host or a different network interface on client host?