From owner-freebsd-chat Wed Oct 28 18:31:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14435 for freebsd-chat-outgoing; Wed, 28 Oct 1998 18:31:51 -0800 (PST) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from Loki.orland.u91.k12.me.us (Loki.orland.u91.k12.me.us [169.244.111.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14428 for ; Wed, 28 Oct 1998 18:31:49 -0800 (PST) (envelope-from netmonger@genesis.ispace.com) Received: from Celeris (56k-port4021.ime.net [209.90.195.31]) by Loki.orland.u91.k12.me.us (8.9.1/8.8.8-Loki) with SMTP id VAA03463 for ; Wed, 28 Oct 1998 21:31:55 -0500 (EST) (envelope-from netmonger@genesis.ispace.com) X-Server-ID: Loki.orland.u91.k12.me.us, OCSNet - Orland Maine USA X-Coord-Name: Drew "Droobie" Baxter, OneNetwork Exchange X-Coord-Addr: Droobie@Openlink.orland.me.us X-Coord-Pager: USA: 207-471-2719, http://pagedroo.orland.me.us Message-Id: <4.1.19981028212645.00a66a50@genesis.ispace.com> X-Sender: netmonger@genesis.ispace.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Wed, 28 Oct 1998 21:30:12 -0500 To: chat@FreeBSD.ORG From: Drew Baxter Subject: Re: NAT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got a NAT Question, hoping someone's used it enough to be able to help me out.. Nat doesn't work. Here's my config stuff. /etc/rc.ipfw contains this to run Nat: natd -s -n fxp1 -l -m IPfw show is: 04000 152 21539 allow udp from any to any 05000 0 0 allow icmp from 209.63.182.0/24 to 209.63.182.0/24 05500 503 35414 allow tcp from any to any 05750 0 0 allow udp from any to any 06000 0 0 divert 8668 ip from 192.168.0.0/24 to any out xmit fxp1 06500 0 0 divert 8668 ip from any to 192.168.0.0/24 in recv fxp1 65000 0 0 allow ip from any to any 65535 4 264 deny ip from any to any ifconfig -a shows: fxp0: flags=8843 mtu 1500 inet 209.63.182.99 netmask 0xffffff00 broadcast 209.63.182.255 ether 00:a0:c9:af:8c:90 media: autoselect supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP fxp1: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:a0:c9:b4:e1:04 media: autoselect supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP -------- Soo.. what am I doing wrong? I do a ping to 192.168.0.5 and it's 1.something ms, so that works fine.. I have gateway running, and divert is enabled in the kernel.. --- Drew "Droobie" Baxter Network Admin/Professional Computer Nerd(TM) OneEX: The OneNetwork Exchange 207-942-0275 http://www.droo.orland.me.us My Latest Kernel: FreeBSD 3.0-CURRENT (ONEEX) #14: Mon Oct 19 22:36:58 EDT 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message