Date: Thu, 8 Nov 2001 15:42:37 +0200 From: Peter Pentchev <roam@ringlet.net> To: Martin Vana <martin.vana@vslib.cz> Cc: freebsd-hackers@freebsd.org Subject: Re: gateway Message-ID: <20011108154237.B67725@straylight.oblivion.bg> In-Reply-To: <000b01c1685a$57f7fda0$1198e693@kolej.vslib.cz>; from martin.vana@vslib.cz on Thu, Nov 08, 2001 at 02:36:17PM %2B0100 References: <000b01c1685a$57f7fda0$1198e693@kolej.vslib.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011108154237.B67725>