Je cherche à restreindre à une liste blanche les sites auxquels un utilisateur de ma machine a accès. J'ai trouvé et j'ai suivi https://wiki.archlinux.org/index.php/Parental_Control (Whitelist with Tinyproxy and Firehol) mais au moment de démarrer firehol, j'ai une erreur :
Code : Tout sélectionner
[alain@earth firehol]$ sudo firehol start
FireHOL: Saving your old firewall to a temporary file: OK
FireHOL: Processing file /etc/firehol/firehol.conf: OK
FireHOL: Activating new firewall (59 rules):
--------------------------------------------------------------------------------
ERROR : # 1.
WHAT : A runtime command failed to execute (returned error 2).
SOURCE : line 15 of /etc/firehol/firehol.conf
COMMAND : /usr/bin/ip6tables -t nat -A out_trproxy.1 -d 127.0.0.1 -j RETURN
OUTPUT :
ip6tables v1.4.21: host/network `127.0.0.1' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
FAILED
FireHOL: Restoring old firewall: OK
Broadcast message from systemd-journald@earth (Sun 2015-03-15 20:04:35 CET):
FireHOL[25593]: FAILED to activate the firewall from /etc/firehol/firehol.conf. Last good firewall restoration: OK.
Pour info, mon /etc/firehol/firehol.conf :
Code : Tout sélectionner
[alain@earth firehol]$ more firehol.conf
#
# This configuration file will allow all requests originating from the
# local machine to be send through all network interfaces.
#
# No requests are allowed to come from the network. The host will be
# completely stealthed! It will not respond to anything, and it will
# not be pingable, although it will be able to originate anything
# (even pings to other hosts).
#
version 6
# Parental Control - Fwd to TinyProxy
# Added by alain
transparent_proxy "80 443" 8888 "nobody root bin alain"
# Accept all client traffic on any interface
interface any world
client all accept