From owner-freebsd-questions Tue May 18 2:11:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id DDA9815259 for ; Tue, 18 May 1999 02:10:32 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id MAA74635; Tue, 18 May 1999 12:08:18 +0300 (EEST) (envelope-from ru) Date: Tue, 18 May 1999 12:08:18 +0300 From: Ruslan Ermilov To: danny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd Message-ID: <19990518120818.A66174@relay.ucb.crimea.ua> Mail-Followup-To: danny , freebsd-questions@FreeBSD.ORG References: <002101bea0f9$520f7c40$a800000a@274.penatlpha.com.hk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <002101bea0f9$520f7c40$a800000a@274.penatlpha.com.hk>; from danny on Tue, May 18, 1999 at 02:40:29PM +0800 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Umm. The output of ``netstat -rn'' too, please. On Tue, May 18, 1999 at 02:40:29PM +0800, danny wrote: > ipfw l > 00100 divert 8668 ip from any to any via xl0 > 00100 allow ip from any to any via lo0 > 00200 deny ip from any to 127.0.0.0/8 > 65000 allow ip from any to any > 65535 deny ip from any to any > > ifconfig -a > xl0: flags=8843 mtu 1500 > inet 210.176.109.x netmask 0xffffffe0 broadcast 210.176.109.31 > ether 00:10:4b:0a:aa:aa > media: 10baseT/UTP > supported media: autoselect 100baseTX 100baseTX > xl1: flags=8843 mtu 1500 > inet 10.0.0.7 netmask 0xff000000 broadcast 10.255.255.255 > ether 00:10:4b:65:bb:bb > media: 100baseTX > supported media: autoselect 100baseTX 100baseTX > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > sl0: flags=c010 mtu 552 > > sysctl net.inet.ip > net.inet.ip.portrange.lowfirst: 1023 > net.inet.ip.portrange.lowlast: 600 > net.inet.ip.portrange.first: 1024 > net.inet.ip.portrange.last: 5000 > net.inet.ip.portrange.hifirst: 49152 > net.inet.ip.portrange.hilast: 65535 > net.inet.ip.forwarding: 1 > net.inet.ip.redirect: 1 > net.inet.ip.ttl: 64 > net.inet.ip.rtexpire: 3600 > net.inet.ip.rtminexpire: 10 > net.inet.ip.rtmaxcache: 128 > net.inet.ip.sourceroute: 0 > net.inet.ip.intr_queue_maxlen: 50 > net.inet.ip.intr_queue_drops: 0 > net.inet.ip.accept_sourceroute: 0 > net.inet.ip.fastforwarding: 0 > net.inet.ip.subnets_are_local: 0 > net.inet.ip.fw.debug: 1 > net.inet.ip.fw.one_pass: 1 > net.inet.ip.fw.verbose: 1 > net.inet.ip.fw.verbose_limit: 0 > > > > > -----Original Message----- > From: Ruslan Ermilov > To: danny > Cc: freebsd-questions@FreeBSD.ORG > Date: Monday, May 17, 1999 7:31 PM > Subject: Re: natd > > > >On Mon, May 17, 1999 at 06:34:24PM +0800, danny wrote: > >> 1) ipfw list: > >> with firewall_type="open" and nothing more (all pass) > >> 2) my kernel with IPFIREWALL and IPDIVERT options. > >> 3) also ``gateway_enable=YES'' in /etc/rc.conf > >> > >> all done > >> > >> Danny > > > >As root, execute the following commands and send me their output. > >You can find script(1) very handy for this sort of things. > > > >1. ipfw l > >2. ifconfig -a > >3. sysctl net.inet.ip > > > > > >-- > >Ruslan Ermilov Sysadmin and DBA of the > >ru@ucb.crimea.ua United Commercial Bank > >+380.652.247.647 Simferopol, Ukraine > > > >http://www.FreeBSD.org The Power To Serve > >http://www.oracle.com Enabling The Information Age > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message