From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 21:41:29 2003 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 A6D5216A4CE; Mon, 29 Dec 2003 21:41:28 -0800 (PST) Received: from sumykhimprom.org.ua (sumykhimprom.org.ua [193.178.229.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FB3143D2F; Mon, 29 Dec 2003 21:41:27 -0800 (PST) (envelope-from vanyushenkov@nettmail.de) Received: from mobile (mobile.sumykhimprom.org.ua [10.15.7.111]) by sumykhimprom.org.ua (Postfix) with SMTP id 8C30044B31; Tue, 30 Dec 2003 07:42:14 +0200 (EET) From: =?koi8-r?Q?=22?=al vanyushenkov=?koi8-r?Q?=22=20?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7ER51173KTYNMG" Message-Id: <20031230054214.8C30044B31@sumykhimprom.org.ua> Date: Tue, 30 Dec 2003 07:42:14 +0200 (EET) To: undisclosed-recipients: ; X-Mailman-Approved-At: Tue, 30 Dec 2003 05:09:48 -0800 Subject: gray network and ipfw2 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: Tue, 30 Dec 2003 05:41:29 -0000 ------------7ER51173KTYNMG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi all i have freebsd 4.8 installed and i use ipfw2 with the rules #!/bin/sh fwcmd=/sbin/ipfw ${fwcmd} -f flush #!/bin/sh ipfw='/sbin/ipfw' $ipfw -f flush $ipfw add divert natd all from any to any via ppp0 $ipfw add allow log all from any to any my local ethernet card has 192.168.133.7 ip address and my ppp0 interface has 217.15.x.x ip address. when i tried to connect to 195.54.192.44:21 from my local box i got the lines Accept TCP 172.16.202.106:4802 195.54.192.44:21 out via ppp0 Accept TCP 195.54.192.44:21 172.16.202.106:4802 in via ppp0 and so on. as i know 172.16.0.0 are gray addresses and i haven't got any 172.16.x.x networks in my environment. Could anybody tell me what 172.16.202.106:4802 does in my log file. Thanks vanyushenkov al _______________________________________________ freebsd-ipfw@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" ------------7ER51173KTYNMG--