From owner-freebsd-questions@FreeBSD.ORG Mon Oct 25 17:53:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3470716A4CE for ; Mon, 25 Oct 2004 17:53:35 +0000 (GMT) Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.6.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B8B843D1F for ; Mon, 25 Oct 2004 17:53:34 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0I6500GPXJ1956@smtp19.wxs.nl> for questions@freebsd.org; Mon, 25 Oct 2004 19:53:33 +0200 (CEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.13.1/8.13.1) with ESMTP id i9PHrXWH089990; Mon, 25 Oct 2004 19:53:33 +0200 Received: (from akruijff@localhost) by alex.lan (8.13.1/8.13.1/Submit) id i9PHrWQC089845; Mon, 25 Oct 2004 19:53:32 +0200 Content-return: prohibited Date: Mon, 25 Oct 2004 19:53:32 +0200 From: Alex de Kruijff In-reply-to: <200410252032.41949.oim37@mail.ru> To: oim Message-id: <20041025175332.GA1107@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <200410252032.41949.oim37@mail.ru> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: questions@freebsd.org Subject: Re: IP to IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 17:53:35 -0000 On Mon, Oct 25, 2004 at 08:32:41PM +0000, oim wrote: > Hello! > > Problem: I want to redirect ip 205.188.179.233 to my server 195.225.131.194 > where all packets sending to 195.225.131.194 on port 5190 redirected to > 205.188.179.233 and away. > OS: FreeBSD 5.1 > > I want that users connect to ICQ server through 195.225.131.194 (my Server) . You can redirect ports with natd with a firewall. See 'man ipfw' and 'man natd' and the handbook www.freebsd.org/handbook for information about how to set this up. Port 5190 is ICQ right? If this is the case then you might want a socks server instead. You can install the dante socks server with these commands: /usr/ports/net/dante... make install clean Also consider upgrading to FreeBSD 5.2.1 (plus patches) or FreeBSD 5.3 RC1 because 5.1 is no longer supported. Information on how to do is also written down in the handbook. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/