Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2008 12:34:44 +0200 (CEST)
From:      Mohacsi Janos <mohacsi@niif.hu>
To:        Mike Price <bipolor@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: SSH Tunneling All TCP Traffic
Message-ID:  <alpine.BSF.2.00.0809271233100.71195@mignon.ki.iif.hu>
In-Reply-To: <a15f9fba0809270301q3a9babfby10d925a74dfc8aa1@mail.gmail.com>
References:  <a15f9fba0809270301q3a9babfby10d925a74dfc8aa1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help



On Sat, 27 Sep 2008, Mike Price wrote:

> I need to tunnel all of my TCP SSH-2 traffic from my
> local box to my remote box that I will have an account on. I heard this can
> be done in one command?
>
> ssh -f me@lab.com -L 8888:lab.com:53 -N
>
> SOCKS: 8888
>   SSH2: 53


If you want you use SOCKS use -D <sockport> option instead of individual 
TCP connection forwading. However you need SOCKS capable client.
 	Regards,
 		Janos Mohacsi


>
> What am I doing wrong?
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0809271233100.71195>