Hey everyone!
First off i have to thank the awesome community which allowed me to learn so much in so little time.
Here is my setup:
i have an old computer running freenas 9.10.1 on 192.168.1.14 with ssh
router forwarding ssh connections on port 10987 to the server
no ip for a dyn dns service
i am in Europe, using an ISP which does not allow me to connect to my network from the internet, when i am localy in the network (sry for bad explenation
): testing is done locally but some things could therefore be different
the ssh clients are running windows (using putty)
my goal is to use a samba share on university computers , which support add network location on windows, but all this tunneling through ssh. Needless to say i do not have administrator rights on those pcs, so no editing drivers or creating a loopback network controller;).
to test ssh tunneling, i was trying to create a tunnel to access the webgui (running on port 4567). Everything works with putty's tunnel section as so:
I can connect to the webgui with http://localhost:5001
However, if i try using a command to establish the connection, such as
adding -f and -N does not help
i cannot figure out the problem, so please help.
While i am at it, i'll ask a couple more questions.
-since 445 is port used for smb, this is the one i will need to tunnel right. (or maybe 139?). That means i need root rights to tunnel. But it is the freenas root right (not the client root)? so i can just use sudo i guess
-when trying to forward a port as root, it says permission denied (public key), and at one point it would ask my password and after entering it right, it would say permission denied (public key, password) (yes i ma using public key auth)
-i dont know what option to use for putty log. also, should i look at putty log or freenas ssh log?
Thank you so much for your help
shan :)
First off i have to thank the awesome community which allowed me to learn so much in so little time.
Here is my setup:
i have an old computer running freenas 9.10.1 on 192.168.1.14 with ssh
router forwarding ssh connections on port 10987 to the server
no ip for a dyn dns service
i am in Europe, using an ISP which does not allow me to connect to my network from the internet, when i am localy in the network (sry for bad explenation
the ssh clients are running windows (using putty)
my goal is to use a samba share on university computers , which support add network location on windows, but all this tunneling through ssh. Needless to say i do not have administrator rights on those pcs, so no editing drivers or creating a loopback network controller;).
to test ssh tunneling, i was trying to create a tunnel to access the webgui (running on port 4567). Everything works with putty's tunnel section as so:

I can connect to the webgui with http://localhost:5001
However, if i try using a command to establish the connection, such as
ssh -L 5001:192.168.1.14:4567 192.168.1.14 -p 10987
, nothing happens in my web browseradding -f and -N does not help
i cannot figure out the problem, so please help.
While i am at it, i'll ask a couple more questions.
-since 445 is port used for smb, this is the one i will need to tunnel right. (or maybe 139?). That means i need root rights to tunnel. But it is the freenas root right (not the client root)? so i can just use sudo i guess
-when trying to forward a port as root, it says permission denied (public key), and at one point it would ask my password and after entering it right, it would say permission denied (public key, password) (yes i ma using public key auth)
-i dont know what option to use for putty log. also, should i look at putty log or freenas ssh log?
Thank you so much for your help
shan :)