Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Zohair Faridi" <zohair@ecom.net>
To: <axp-list@redhat.com>, <bradford@tgg.com>
Subject: Re: Firewall help
Date: Wed, 8 Apr 1998 09:02:16 -0700	[thread overview]
Message-ID: <000a01bd6307$b45a9c80$cf499bcf@catalina.dude.com> (raw)

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 <bradford@tgg.com>
To: axp-list@redhat.com <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
>
>



             reply	other threads:[~1998-04-08 15:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-08 16:02 Zohair Faridi [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-08  9:43 Firewall help Alan Wood
1998-04-08  2:41 Bradford Smith
1998-04-08  5:47 ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox