Captain Dondo <(E-Mail Removed)> écrivait
news

(E-Mail Removed) om:
> This is sort of a weird one....
>
> I have a machine that will be located in a remote location. It will
> be behind a NAT+firewall so I can't get to it directly from the web.
Can you configure the firewall to portfoward one port (ex: port 2222 on
the firewall to port 22 on the internal server) ?
If yes, you can use ssh -p 2222 firewall_ip to access the server.
> Well, vtun (or OpenVPN) need the tun device. I have not been
> successfull in compiling the tun module for this particular machine
> (don't ask; long story. It just can't be done, it seems.... No, I
> can't change the kernel....)
Did you tray TAP driver ?
> So... I know you can forward X via SSH; is there a way to forward just
> a login session?
You can forward any port from a ssh client to an shh server.
> I've thought about having ssh forward port 20 (or whatever telnet runs
> on) and then using telnet to log in. Any better ways?
Heu ???? If ssh is working you don't need telnet (and it's not secure to
use telnet).
So if you can connect to the firewall with ssh, then execute another ssh
in this session to connect to the internal server.
Regards