From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 166 invoked from network); 8 Apr 1998 15:57:45 -0000 Received: from ns1.ecom.net (HELO amber.ecom.net) (207.13.224.10) by mail2.redhat.com with SMTP; 8 Apr 1998 15:57:45 -0000 Received: from catalina.dude.com (ppp207.ecom.net [207.155.73.207]) by amber.ecom.net (8.8.8/8.8.7) with SMTP id IAA27229; Wed, 8 Apr 1998 08:57:35 -0700 (PDT) (envelope-from zohair@ecom.net) Message-ID: <000a01bd6307$b45a9c80$cf499bcf@catalina.dude.com> From: "Zohair Faridi" To: , Subject: Re: Firewall help Date: Wed, 8 Apr 1998 09:02:16 -0700 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 Here's my forwarding script; you'l need to make appropriate changes for yourself of coarse, like: I'm adding my route(ppp0) through it too, you probably won't need it. Also the network IP addresses will need to change! #!/bin/sh /sbin/route add default gw 207.155.73.69 /sbin/route add -net 207.155.73.0 dev ppp0 /sbin/ipfwadm -I -p accept /sbin/ipfwadm -I -f /sbin/ipfwadm -O -p accept /sbin/ipfwadm -O -f /sbin/ipfwadm -F -p deny /sbin/ipfwadm -F -f /sbin/ipfwadm -F -a masquerade -S 10.0.2.5 -D 0.0.0.0/0.0.0.0 /sbin/ipfwadm -F -a masquerade -S 10.0.2.7 -D 0.0.0.0/0.0.0.0 /sbin/ipfwadm -F -a masquerade -S 10.0.2.6 -D 0.0.0.0/0.0.0.0 /sbin/ipfwadm -F -a masquerade -S 10.0.2.9 -D 0.0.0.0/0.0.0.0 -----Original Message----- From: Bradford Smith To: axp-list@redhat.com Date: Tuesday, April 07, 1998 7:47 PM Subject: Firewall help >I am setting up a UDB as a firewall. To start with I would like to have >simple packet filtering using ipfwadm. I have installed ipfwadm, and >compiled a kernel with IP_forwarding, IP_firewalling, etc. turned on. > >I have two ethernet cards, and I get this message from startup: > >sysctl: ip forwarding off > >Sure enough, the cards don't send anything from one to the other. The >firewalling-HOWTO seems to indicate that all you need to do is turn on >forwarding when you build the kernel and you are good to go; it's not >working for me. > >Anyone with experience willing to help? > >Drop me a line on this list or in email. > >Thanks in advance, > > >-- >Bradford Smith The Gryphon Group >bradford @ tgg.com Senior Engineer > >"And the beast shall come forth surrounded by a roiling cloud of vengeance. >The house of the unbelievers shall be razed and they shall be scorched >to the earth. Their tags shall blink until the end of days." >-- from The Book of Mozilla, 12:10 > >-- >To unsubscribe: send e-mail to axp-list-request@redhat.com with >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > >