Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 15:46:36 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   PF and tables for disabling network
Message-ID:  <CAO%2BPfDefeN%2BiEL-0UeLa5oSL%2B0dz4DKTiwEnuWnyoxeowsiMpg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDefeN%2BiEL-0UeLa5oSL%2B0dz4DKTiwEnuWnyoxeowsiMpg>