* RE: Firewall help
@ 1998-04-08 9:43 Alan Wood
0 siblings, 0 replies; 4+ messages in thread
From: Alan Wood @ 1998-04-08 9:43 UTC (permalink / raw)
To: axp-list@redhat.com, 'Bradford Smith'
If you are using RH5.0, then you will need to change /etc/sysconfig/network,
find the line FORWARD_IPV4=no and change it to yes. Upon restarting the
networking, it will then forward. Caught me out for a short while too.
Alan
----------
From: Bradford Smith[SMTP:bradford@tgg.com]
Sent: 08 April 1998 03:42
To: axp-list@redhat.com
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Firewall help
@ 1998-04-08 16:02 Zohair Faridi
0 siblings, 0 replies; 4+ messages in thread
From: Zohair Faridi @ 1998-04-08 16:02 UTC (permalink / raw)
To: axp-list, bradford
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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Firewall help
@ 1998-04-08 2:41 Bradford Smith
1998-04-08 5:47 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: Bradford Smith @ 1998-04-08 2:41 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Firewall help
1998-04-08 2:41 Bradford Smith
@ 1998-04-08 5:47 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-04-08 5:47 UTC (permalink / raw)
To: axp-list
>
> 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.
From /etc/rc.d/init.d/network:
# Turn IP forwarding on or off. We do this before bringing up the
# interfaces to make sure we don't forward when we shouldn't, and
# we do it even if networking isn't configured (why not?).
and a bit later:
echo "$value" > /proc/sys/net/ipv4/ip_forward
where $value depends on how $FORWARD_IPV4 was set in
/etc/sysconfig/network ($value is 0 or 1 - to be precise).
From what I know installation screens allow you to pick what you
want for FORWARD_IPV4, but nothing prevents you from editing
/etc/sysconfig/network manually later.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-04-08 15:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-08 9:43 Firewall help Alan Wood
-- strict thread matches above, loose matches on Subject: below --
1998-04-08 16:02 Zohair Faridi
1998-04-08 2:41 Bradford Smith
1998-04-08 5:47 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox