PF and tables for disabling network

David Demelier demelier.david at gmail.com
Fri Nov 23 14:46:37 UTC 2012


Hello,

I would like to disable the network traffic for specific IPs, for the
moment I just add to my pf.conf a rule that will block everything for a
specified table like this :

table <closed>

[...] others rules [...]

block from <closed>

Then I just need to add my IP using pfctl, it will works, no packet can be
send / recv to the machine, however if that machine had some active
connections, these won't be closed and they can still use them (a SSH
client, game, ...)

How can I disable everything then?

Cheers

-- 
Demelier David


More information about the freebsd-questions mailing list