--- /dev/null
+#!/lib/init/init-d-script
+### BEGIN INIT INFO
+# Provides: atd
+# Required-Start: mountkernfs $local_fs
+# X-Start-Before: $network
+# Default-Start: S
+# Required-Stop:
+# Short-Description: Block selected HTTP and HTTPS connections
+# Description: Firewall agent that blocks outbound connections
+# for selected domains
+### END INIT INFO
+DAEMON=/usr/sbin/nfblocker
+DAEMON_ARGS="$(ls /etc/nfblocker/blocked/*.acl 2>/dev/null)"
+
+do_start_prepare() {
+ iptables -I OUTPUT -p tcp -j NFQUEUE --queue-num 99
+}
+
+do_stop_prepare() {
+ iptables -D OUTPUT -p tcp -j NFQUEUE --queue-num 99
+}