rule to accept lists of ip's
vladone
vladone at spaingsm.com
Thu May 25 04:57:19 PDT 2006
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
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to
> "freebsd-ipfw-unsubscribe at freebsd.org"
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:vladone at spaingsm.com
More information about the freebsd-ipfw
mailing list