In-N-Out part 2

image
i tried and i tried butt nothing seems to work for this part. I really need some help pls
I don’t know if my logic or my command is right for this one

You’ve almost got it. The correct command is ssh -fN -L 8888:127.0.0.1:8888 cybrary@192.168.100.254 -p 8000

1 Like

Ooo ok, what’s the difference between those two ?

Local forwarding allows you to access a service on a remote network from your local machine as if it were running locally. Remote forwarding allows a service on your local machine to be accessed from a remote network.

You specified -R (remote) vs -L (local).

Also -fN the -f means “fork” the SSH client into the background just before the remote command is executed. As there is N (no command) this will hold the tunnel open.

Thx for the answer !!! Ssh tunneling is really not easy for me :grinning_face:

Nor for me, it makes my head hurt.