Hello mufalani, Thursday, May 25, 2006, 2:15:58 AM, you wrote:
> Hi all, > I would like to create ipfw rule to allow the lists of valid ip's to access > my site. > for example : > allow access to addresses 200.200.200.1 (or hostname1) , 200.200.200.2 (or > hostname2) > for my site under ip 200.200.200.3 > and deny all world. > This is possible? > How to sintax of rule? > Att, > Rodrigo Mufalani > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Use table option like this: ipfw table my_access add 200.200.200.1 ipfw table my_access add 200.200.200.2 ipfw add 100 allow ip from "table(my_access)" to me ipfw add 200 deny ip from any to me -- Best regards, vladone mailto:[EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to "[EMAIL PROTECTED]"
