From owner-freebsd-questions Tue Aug 28 1:22:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zerg.codec.ro (zerg.codec.ro [193.230.240.30]) by hub.freebsd.org (Postfix) with ESMTP id D586837B405 for ; Tue, 28 Aug 2001 01:22:51 -0700 (PDT) (envelope-from gelu@kolozsvar.ro) Received: (from httpd@localhost) by zerg.codec.ro (8.9.3/8.9.2) id LAA23133; Tue, 28 Aug 2001 11:27:32 +0300 Message-Id: <200108280827.LAA23133@zerg.codec.ro> From: "Gelu G. Lupas" To: freebsd-questions@freebsd.org Subject: ipnat and gif tunnels Date: Tue, 28 Aug 2001 11:27:32 +0300 MIME-Version: 1.0 X-Originating-IP: [unknown, 194.102.78.234] X-Mailer: freemail 0.9.8 X-User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 X-Organization: CODEC FreeMail Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm using ipnat and have added NAT rules on a gif device. However, NAT does not seem to work on that device unless I ipnat -C and the ipnat -f /etc/ipnat.rules again. This happened after the gif device mangle in STABLE, worked fine in 4.3-RELEASE. My guess is that the gif device is created *after* the ipnat rules are set on it (ipnat starts from rc.network and gif tunnels from rc.network6). Is there any way to fix this decently? (like no ugly rc.d script to ipnat -C and then ipnat -f /etc/ipnat.rules again). Also if I want to tunnel IPv4 in IPv4 and use rc.conf to do that, I have to compile my kernel with IPv6 support and enable_ipv6="YES" in rc.conf. I think this is total bullshit, why would I want to bloat my kernel with IPv6 if I just want to use IPv4 in IPv4 tunneling? Is there any chance this will get fixed in the future? 4.4-RELEASE? ______________________________________________________________________ Do you want a free e-mail for life ? Get it at http://www.kolozsvar.ro/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message