From owner-freebsd-questions Tue Jul 25 11:38:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f173.law9.hotmail.com [64.4.9.173]) by hub.freebsd.org (Postfix) with SMTP id 0A96A37B848 for ; Tue, 25 Jul 2000 11:38:11 -0700 (PDT) (envelope-from bruce_pea@hotmail.com) Received: (qmail 11612 invoked by uid 0); 25 Jul 2000 18:38:10 -0000 Message-ID: <20000725183810.11611.qmail@hotmail.com> Received: from 216.43.25.99 by www.hotmail.com with HTTP; Tue, 25 Jul 2000 11:38:10 PDT X-Originating-IP: [216.43.25.99] From: "Bruce Pea" To: freebsd-questions@freebsd.org Subject: ipnat not behaving Date: Tue, 25 Jul 2000 13:38:10 CDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm setting up ipnat and am having some problems. I have a FreeBSD v4.0 dual homed server with the following setup: internal network card (fxp0): 192.168.255.1 external network card (fxp1): 209.xx.xxx.xx I have compiled ipfilter into the kernel. defaultrouter=209.xx.xxx.xx gateway_enable="YES" I have ipf set to pass all both directions. My ipnat rules are: map fxp1 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000 60000 map fxp1 192.168.0.0/24 -> 0/32 When I log on to the server from a workstation I can ping the server at 192.168.255.1 and I can ping the outside interface 209.xx.xxx.xx but I cannot ping the router 209.xx.xxx.xx or anything beyond the outside interface. I have tried using just 'map fxp1 192.0.0/24 -> 0/32' as the only ipnat rule but it doesn't make any difference. I can't get past the external interface. I found an archieved message that dealt with the same problem and tried what was suggested but nothing works. What am I missing? Bruce ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message