From owner-freebsd-hackers Tue Nov 6 8:38: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 34DAF37B405 for ; Tue, 6 Nov 2001 08:38:00 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id D134914C2E; Tue, 6 Nov 2001 17:37:58 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Martin Vana" Cc: Subject: Re: forwarding References: <001501c162ec$616caac0$1198e693@kolej.vslib.cz> From: Dag-Erling Smorgrav Date: 06 Nov 2001 17:37:58 +0100 In-Reply-To: <001501c162ec$616caac0$1198e693@kolej.vslib.cz> Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 "Martin Vana" writes: > The problem is when I try to retrive any files from users. Than DC > tryies to establish direct connection to user on ports from > 410-415. How could I somehow 'catch' this request (SYN_SENT > foo.foobar.com 41x) and forward it through ssh tunnel and back? You can't. > Don't limit yourself to just one box, I also have another FreeBsd > machine ready to serve. Is the other box outside the firewall? In that case, set up PPP on both boxen (see /usr/share/examples/ppp/ppp.conf.sample) and run PPP over SSH. On the inside box, set up a single static route to the outside box and let PPP take care of the default route. The outside box should run natd or ipnat unless you have a spare IP address you can use for the PPP link. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message