From owner-freebsd-ipfw@FreeBSD.ORG Thu Apr 1 23:37:05 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C6916A4CE for ; Thu, 1 Apr 2004 23:37:05 -0800 (PST) Received: from flock1.newmail.ru (morda.newmail.ru [212.48.140.150]) by mx1.FreeBSD.org (Postfix) with SMTP id B018243D2D for ; Thu, 1 Apr 2004 23:37:04 -0800 (PST) (envelope-from igorpopov@newmail.ru) Received: (qmail 26182 invoked by alias); 2 Apr 2004 07:33:38 -0000 Message-ID: <20040402073338.26179.qmail@flock1.newmail.ru> From: =?koi8-r?B?8M/Qz9cg6cfP0tgg7snLz8zBxdfJ3iA=?= To: freebsd-ipfw@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Mailer: DenMail v1.0 by ORC X-Uid: 612795 X-RemoteIP: 193.124.6.3 (192.168.0.1, unknown) Date: Fri, 02 Apr 2004 11:33:37 +0400 Content-type: text/plain; charset="koi8-r" Subject: natd and tun X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 07:37:06 -0000         Hi, I have a question: would be natd work with tun device? I had already asked this question when FreeBSD 5.2 were released Someone have answered to me that I should use ppp builtin nat, because divert sockets doesn't work with tun. Simple rules like this         divert all from any to any via tun0         allow all from any to any did not work. Now I use ipfilter, but I prefer to use ipfw, it is more usable on FreeBSD. Also there is OpenBSD' pf, but it is hard to use with dynamically created interfaces. -- "I wish there was a knob on the TV to turn up the intelligence. There's a knob called `brightness', but it doesn't work."                 -- Gallagher __________ www.newmail.ru -- ÂÅÓÐÌÁÔÎÁÑ ÐÏÞÔÁ, ÂÅÓÐÌÁÔÎÙÊ ÈÏÓÔÉÎÇ.