From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 27 10:34:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C601065694 for ; Sat, 27 Sep 2008 10:34:59 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFE88FC08 for ; Sat, 27 Sep 2008 10:34:57 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id E808184A74; Sat, 27 Sep 2008 12:34:46 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sWYQFgpLS8n8; Sat, 27 Sep 2008 12:34:44 +0200 (CEST) Received: by mail.ki.iif.hu (Postfix, from userid 9002) id 9053D84A6F; Sat, 27 Sep 2008 12:34:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id 8EE7B8495B; Sat, 27 Sep 2008 12:34:44 +0200 (CEST) Date: Sat, 27 Sep 2008 12:34:44 +0200 (CEST) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: Mike Price In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: SSH Tunneling All TCP Traffic X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 10:34:59 -0000 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 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" >