Re: Bug in ipfw und ip6fw oder bin ich total unfähig

From: Matthias Fechner <idefix(at)fechner.net>
Date: Sun, 5 Jan 2003 23:41:36 +0100

Hallo Bernd,

* Bernd Walter <ticso(at)cicely8.cicely.de> [03-01-03 21:15]:
> [473]cicely6# uname -a
> FreeBSD cicely6.cicely.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Dec 28 15:50:23 CET 2002 ticso(at)cicely5.cicely.de:/var/d9/obj/var/d2/builder/FreeBSD-2002-12-27-cicely6/src/sys/CICELY6 i386

So, hab jetzt auch mal upgedatet, aber ich habe immer noch Probleme.
uname -a
FreeBSD server.idefix.loc 5.0-RC FreeBSD 5.0-RC #0: Sun Jan 5 22:53:56 CET 2003 root(at)server.idefix.loc:/usr/src/sys/i386/compile/SERVER i386

Was jetzt ziemlich kriminell ist, ich habe das Problem jetzt auch beim
normalen ipfw(oder mir ist es jetzt erst aufgefallen - hab mich gleich
mal ausgesperrt).

Ich weiss langsam nicht mehr, was ich machen soll.

In meiner rc.conf steht folgendes:
firewall_enable="yes"
firewall_script="/home/idefix/firewall.bsd/my-firewall
ipv6_firewall_enable="yes"
ipv6_firewall_script="/home/idefix/firewall.bsd/ipv6-firewall"

in my-firewall steht dann folgendes:
#!/bin/sh
LOCALNET=192.168.0.0/24
SERVER=192.168.1.1

ipfw -f flush
ipfw add pass all from any to any via lo0
ipfw add pass all from 192.168.0.251 to $LOCALNET
ipfw add pass all from $LOCALNET to 192.168.0.251
[...]

Die ipv6-firewall ist genauso aufgebaut.
Was mache ich denn da falsch?

Bitte ein paar Tips, ich bin total am verzweifeln.

-- 
Gruss
Matthias
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 05 Jan 2003 - 23:41:41 CET

search this site