From owner-freebsd-questions Mon May 17 23:41:21 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 8FB6E153B7 for ; Mon, 17 May 1999 23:41:16 -0700 (PDT) (envelope-from danny@pentalpha.com.hk) Received: from 274.penatlpha.com.hk ([10.0.0.168]) by server.pentalpha.com.hk (8.9.1a/8.9.1) with SMTP id OAA01208; Tue, 18 May 1999 14:40:23 +0800 (CST) Message-ID: <002101bea0f9$520f7c40$a800000a@274.penatlpha.com.hk> From: "danny" To: "Ruslan Ermilov" Cc: Subject: Re: natd Date: Tue, 18 May 1999 14:40:29 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 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