Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 15:56:19 -0700
From:      "Brian" <brian@briang.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   IPFW
Message-ID:  <000701bdefea$33c24f80$2a00a8c0@brian-desktop.thetingroup.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 2.2.7 and have natd running with the IP Firewall enabled

/etc/rc.conf
FXP0=24.1.88.xxx
&
FXP0=192.168.0.1

--> ipfw -a l

00100      31163   20091250 divert 6668 ip from any to any via fxp0
00100        130      14898 allow ip from any to any via lo0
00200          0          0 deny ip from any to 127.0.0.0/8
00300          0          0 deny log tcp from 24.0.0.0/8 to any 1-21 in recv
fxp0
00400          0          0 deny log tcp from 24.0.0.0/8 to any 23-52 in
recv fxp0
00500          0          0 deny log tcp from 24.0.0.0/8 to any 56-109 in
recv fxp0
00600          0          0 deny log tcp from 24.0.0.0/8 to any 111-1023 in
recv fxp0
00700          0          0 deny log tcp from 24.0.0.0/8 to 24.0.0.0/8
1026-65000 in recv fxp0
65000      62854   40131837 allow ip from any to any
65535          0          0 deny ip from any to any

Now my question is how would I tell it to allow any and everthing from
24.1.122.xxx
I have tryed to put that segment in as allow

$fwcmd add allow all from 24.1.122.0/24 to any in via fxp0
&
$fwcmd add allow all from 24.1.122.0/24 to any

I have tryed both but lines still will not let anything from 24.1.122.xxx
segment in.

Thanks Brian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bdefea$33c24f80$2a00a8c0>