From owner-freebsd-ipfw Sun Jun 10 6: 7:40 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from bsdi.dhs.org (bsdi.dhs.org [202.61.71.137]) by hub.freebsd.org (Postfix) with SMTP id DB1C637B405 for ; Sun, 10 Jun 2001 06:07:33 -0700 (PDT) (envelope-from jett@bsdi.dhs.org) Received: (qmail 4101 invoked from network); 10 Jun 2001 13:09:08 -0000 Received: from bsd.i-next.net (HELO jett) (202.61.68.75) by bsdi.dhs.org with SMTP; 10 Jun 2001 13:09:08 -0000 Message-ID: <004701c0f1ad$517da980$4b443dca@jett> From: "Jett Tayer" To: Subject: port forwarding Date: Sun, 10 Jun 2001 21:00:24 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0044_01C0F1F0.5EBF1500" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0044_01C0F1F0.5EBF1500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, How can i forward a port using ipfw? for example:=20 i want to forward traffic from my server's port 25 to a machine in my = internal LAN's port 25. Is there a way with this using ipfw.? my server has 2 nics. one is connected directly to the internet and the = other is the gateway of my internal LAN. Jett Tayer Jr. Systems Administrator Interdotnet Philippines ------=_NextPart_000_0044_01C0F1F0.5EBF1500 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
How can i forward a port using = ipfw?
 
for example:
i want to forward traffic from my = server's port 25=20 to a machine in my internal LAN's port 25.
Is there a way with this using = ipfw.?
 
my server has 2 nics. one is connected = directly to=20 the internet and the other is the gateway of my internal = LAN.
 

Jett Tayer Jr.
Systems=20 Administrator
Interdotnet Philippines
------=_NextPart_000_0044_01C0F1F0.5EBF1500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message From owner-freebsd-ipfw Sun Jun 10 6:20:56 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from kawoserv.kawo2.rwth-aachen.de (kawoserv.kawo2.RWTH-Aachen.DE [134.130.180.1]) by hub.freebsd.org (Postfix) with ESMTP id 225AE37B401 for ; Sun, 10 Jun 2001 06:20:53 -0700 (PDT) (envelope-from doegi@kawo2.rwth-aachen.de) Received: (from doegi@localhost) by kawoserv.kawo2.rwth-aachen.de (8.9.3/8.9.3) id PAA17294; Sun, 10 Jun 2001 15:20:40 +0200 Date: Sun, 10 Jun 2001 15:20:40 +0200 From: Alexander Langer To: Jett Tayer Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: port forwarding Message-ID: <20010610152040.A17242@kawoserv.kawo2.rwth-aachen.de> References: <004701c0f1ad$517da980$4b443dca@jett> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <004701c0f1ad$517da980$4b443dca@jett> X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Jett Tayer (jett@bsdi.dhs.org): > i want to forward traffic from my server's port 25 to a machine in my internal LAN's port 25. > Is there a way with this using ipfw.? Yes, with a divert socket and natd. Read natd's manual page for more information, it has some great examples. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message From owner-freebsd-ipfw Sun Jun 10 7:29:30 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from sima.sita.kiev.ua (sima.sita.kiev.ua [193.193.223.17]) by hub.freebsd.org (Postfix) with ESMTP id 283D937B401 for ; Sun, 10 Jun 2001 07:29:21 -0700 (PDT) (envelope-from ay@sima.sita.kiev.ua) Received: (from root@localhost) by sima.sita.kiev.ua (8.Who.Cares/8.Who.Cares) id RAA35775 for freebsd-ipfw@freebsd.org; Sun, 10 Jun 2001 17:29:18 +0300 (EEST) (envelope-from ay) Date: Sun, 10 Jun 2001 17:29:17 +0300 To: freebsd-ipfw@freebsd.org Message-ID: From: "Alexander Yeremenko" MIME-version: 1.0 Content-type: text/plain;charset=koi8-u Organization: Sita Site Subject: counter question X-Mailer: Necrosoft Outgluk Express for UNIX Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What is the best way to release ipfw add count all from net1/mask1 to [any exept net2/mask2] ? Thank You in advance To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message From owner-freebsd-ipfw Sun Jun 10 15: 7:40 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 9D05637B405 for ; Sun, 10 Jun 2001 15:07:35 -0700 (PDT) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id 3E5BA81D06; Sun, 10 Jun 2001 17:07:25 -0500 (CDT) Date: Sun, 10 Jun 2001 17:07:25 -0500 From: Bill Fumerola To: Alexander Yeremenko Cc: freebsd-ipfw@freebsd.org Subject: Re: counter question Message-ID: <20010610170725.C37979@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ay@sita.kiev.ua on Sun, Jun 10, 2001 at 05:29:17PM +0300 X-Operating-System: FreeBSD 4.3-FEARSOME-20010328 i386 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 10, 2001 at 05:29:17PM +0300, Alexander Yeremenko wrote: > What is the best way to release > ipfw add count all from net1/mask1 to [any exept net2/mask2] from man ipfw: src and dst: any | me | [not]
[ports] -- Bill Fumerola - security yahoo / Yahoo! inc. - fumerola@yahoo-inc.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message From owner-freebsd-ipfw Mon Jun 11 2:11:22 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from digi.poltava.ukrpack.net (digi.poltava.ukrpack.net [195.230.135.1]) by hub.freebsd.org (Postfix) with ESMTP id 4064B37B409 for ; Mon, 11 Jun 2001 02:11:16 -0700 (PDT) (envelope-from igorm@poltava.ukrpack.net) Received: from alf (alf.poltava.ukrpack.net [195.230.135.25]) by digi.poltava.ukrpack.net (8.10.1/8.8.7) with ESMTP id f5BCGmC31284 for ; Mon, 11 Jun 2001 12:16:49 GMT Date: Mon, 11 Jun 2001 12:15:13 +0300 From: Igor Marfyuke X-Mailer: The Bat! (v1.51) Educational Reply-To: Igor Marfyuke X-Priority: 3 (Normal) Message-ID: <40373306.20010611121513@poltava.ukrpack.net> To: freebsd-ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Добрый день -- Всего наилучшего Игорь Марфюк Полтава 0532-501532 mailto:igorm@poltava.ukrpack.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message