Re: Block IP with pf rules

2016-01-10 Thread Peter N. M. Hansteen
On 01/10/16 12:40, Gianluca D.Muscelli wrote: Hi, I do not understand, I'm blocking some IP with these PF rules: [ ... ] pass in quick on egress proto tcp \ from \ to (egress) port smtp \ rdr-to 127.0.0.1 port spamd pass out quick on egress proto tcp to any port smtp

Re: Block IP with pf rules

2016-01-10 Thread Marko Cupać
On Sun, 10 Jan 2016 13:36:44 +0100 "Peter N. M. Hansteen" wrote: > On 01/10/16 12:40, Gianluca D.Muscelli wrote: > > Hi, I do not understand, I'm blocking some IP with these PF rules: > > [ ... ] > > > pass in quick on egress proto tcp \ > >from \ > >to

Block IP with pf rules

2016-01-10 Thread Gianluca D.Muscelli
Hi, I do not understand, I'm blocking some IP with these PF rules: table persist table persist table persist file "/var/db/blacklist” block in log block in quick from urpf-failed label uRPF pass out all modulate state pass in quick inet proto icmp icmp-type { echoreq, unreach } pass in