ssh Tunneling For Specific IP:port combo - SSH
This is a discussion on ssh Tunneling For Specific IP:port combo - SSH ; Imagine the following topology:
Laptop Firewall INTERNET sshd Server
(To make this simple, assume everything is running FreeBSD or Linux.)
Here are the operating conditions:
- Laptop wants to get to IP ort
- But Firewall ...
Re: ssh Tunneling For Specific IP:port combo
Tim Daneliuk wrote:
> How do I invoke the ssh client on Laptop to establish a tunnel via
> sshd Server to get to IPort? I know how to do this when the
> desired service is hosted on sshd Server itself. It's the "getting
> to somewhere else on the net via that sshd Server" that has me stumped.
Interestingly, this behaviour is exactly what is bothering me, but the
ssh arguments to forward an arbitrary connection are as follows:
ssh -N -L local_port:host.on.internetort email@example.com
It may be easier to just do X forwarding, though. That way the apps run
on the server while X if tunneled through the ssh connection.
If your laptop is on a WiFI network with the sshd server and you're
looking for a secure way to access the internet from the laptop through
the server, you might want to look into OpenVPN. Steer clear of WEP,
since it provides about as much security as a cartboard box.