[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pf.conf macro help needed



While y'awl are scratching your heads about this one, could you also tell me how to get 'ls' to display stuff in those purty colors?

Much obliged!


J.D. Bronson wrote:
I have 2 ISPs connected to my OBSD box and use pf:

RR = "fxp0"
DSL = "tun0"

I created rulesets to dump certain windoze junk as such:

# Block known windows exploits
block in quick on $DSL proto tcp from any to any port 139
block in quick on $DSL proto tcp from any to any port 445
block in quick on $DSL proto tcp from any to any port 69
block in quick on $RR proto tcp from any to any port 139
block in quick on $RR proto tcp from any to any port 445
block in quick on $RR proto tcp from any to any port 69

Is there any way to create a macro so I dont need to create
double the rulesets for each ISP ?

Thanks!!



Visit your host, monkey.org