[Firehol-support] 3.0 RC iptables-restore v1.4.14: unknown option "--update-counters"

David Touzeau david at articatech.com
Thu Apr 9 14:13:14 CEST 2015


Dear

Using this configuration:

ipv4 ipset create proxy_white_ssl hash:ip
ipv4 ipset addfile proxy_white_ssl ips proxy_ssl_whitelist
ipv4 ipset create MyIPs hash:ip
ipv4 ipset addfile MyIPs ips MyIPs

# * * * * Transparent Proxy * * * *
transparent_squid 16639 squid dst not ipset:proxy_white_ssl
transparent_proxy 443 24472 squid dst not ipset:proxy_white_ssl


I receive this error


iptables-restore v1.4.14: unknown option "--update-counters"
Error occurred at line: 147
Try `iptables-restore -h' or 'iptables-restore --help' for more information.

Offending line:
-A PREROUTING -p tcp --sport 1024:65535 -m set ! --match-set 
proxy_white_ssl dst ! --update-counters ! --update-subcounters --dport 
80 -j REDIRECT --to-ports 16639

  FAILED


How can fix it ?


More information about the Firehol-support mailing list