Allow a UNIX to access to internet trough SSH
I want to install a packet(emerge) from my Gentoo, but it has not got access to Internet.
My client has access to internet and I can connect with SSH to the Gentoo. I want to do a reverse SSH pipe between my client and my Gentoo in order to give the access to Internet.
I'm trying something like this :
ssh -N -R 53:localhost:53 root@IP
ssh -N -R 21:localhost:21 root@IP
I configure this on my Gentoo side in the sshd_config :
But the emerge does not work anymore. I forget to do something, any help appreciate.