I am using this command to port forward in my local machine:
ssh -L 3409:0.0.0.0:3309 -N -f [email protected]
after run this command, I could connect remote 80.110.35.85
successfully. But when I using another PC in the same local network, it tell me connection refused. This make me confusing, why did this happen? is it possible to using the port 3409 on other computer in the same local network?
0.0.0.0
in your code has nothing to do with the listening end. If you did-L 0.0.0.0:3409:0.0.0.0:3309
then the first0.0.0.0
would. Frankly I have never thought of using0.0.0.0
as destination.127.0.0.1
as destination? -- yes.