From owner-freebsd-hackers Thu Nov 8 5:44:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.134.126]) by hub.freebsd.org (Postfix) with SMTP id A6CE537B416 for ; Thu, 8 Nov 2001 05:43:58 -0800 (PST) Received: (qmail 67871 invoked by uid 1000); 8 Nov 2001 13:42:37 -0000 Date: Thu, 8 Nov 2001 15:42:37 +0200 From: Peter Pentchev To: Martin Vana Cc: freebsd-hackers@freebsd.org Subject: Re: gateway Message-ID: <20011108154237.B67725@straylight.oblivion.bg> Mail-Followup-To: Martin Vana , freebsd-hackers@freebsd.org References: <000b01c1685a$57f7fda0$1198e693@kolej.vslib.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000b01c1685a$57f7fda0$1198e693@kolej.vslib.cz>; from martin.vana@vslib.cz on Thu, Nov 08, 2001 at 02:36:17PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 08, 2001 at 02:36:17PM +0100, Martin Vana wrote: > hi, > where could I find some info about setting up a gateway on my computer > in a special way: > I need to catch all connection requests from windows boxes and rederict > them through another server outside firewall via ssh tunnel. > EX: if winbox1 wants to make a connection to foo.foobar.com:port this > request will fail because we have a draconian firewall here. I want to > change this > request in a way that I make ssh tunnel for this request, and I need to work > it both > directions. > Any idea? Create the SSH tunnel, run ppp(8) in PPP-over-TCP mode through it, route all the traffic you like over the tun interface upped by ppp(8). G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message