Basic config, run with --config basic.xml
<?xml version="1.0" encoding="UTF-8"?>
<config block_type="black">
<port port_number="9001" />
<pcap pcap_capture="false" />
<!--Blacklisting targets-->
<list_hostname hostname="example.com" />
<list_port port="22" />
</config>
For more complex blocking needs (ie. removing adult content) see /etc/hosts changing your dns to 1.1.1.3. As a good rule of thumb you should also consider blocking any hostname or ip that is linked to your local network.