SSH Tunneling All TCP Traffic

Mohacsi Janos mohacsi at niif.hu
Sat Sep 27 10:34:59 UTC 2008




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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list