From owner-freebsd-questions Tue May 18 2:25:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.pentalpha.com.hk (unknown [210.176.109.29]) by hub.freebsd.org (Postfix) with ESMTP id 09ADC155B8 for ; Tue, 18 May 1999 02:25:53 -0700 (PDT) (envelope-from danny@pentalpha.com.hk) Received: from domain (danny [10.0.0.111]) by server.pentalpha.com.hk (8.9.1a/8.9.1) with SMTP id RAA01507; Tue, 18 May 1999 17:24:41 +0800 (CST) Message-ID: <032701bea110$3c8a5540$6f00000a@domain.pentalpha.com.hk> From: "danny" To: "Ruslan Ermilov" Cc: Subject: Re: natd Date: Tue, 18 May 1999 17:24:31 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 210.176.109.30 UGSc 2 0 xl0 10 link#2 UC 0 0 xl1 10.0.0.7 0:10:4b:65:bb:bb UHLW 1 68 lo0 10.0.0.168 0:10:5a:60:aa:aa UHLW 1 61 xl1 1183 127.0.0.1 127.0.0.1 UH 10 147 lo0 210.176.109/27 link#1 UC 0 0 xl0 210.176.109.30 0:0:80:32:22:bb UHLW 3 0 xl0 407 -----Original Message----- From: Ruslan Ermilov To: danny Cc: freebsd-questions@FreeBSD.ORG Date: Tuesday, May 18, 1999 5:10 PM Subject: Re: natd >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