diff --git a/cacher.spec b/cacher.spec index 967f42c..fd4a326 100644 --- a/cacher.spec +++ b/cacher.spec @@ -1,5 +1,5 @@ Name: 3isec-qubes-cacher -Version: 1.13 +Version: 1.14 Release: 1%{?dist} Summary: A caching proxy in Qubes diff --git a/cacher/configure.sls b/cacher/configure.sls index 4df8625..2ec168c 100644 --- a/cacher/configure.sls +++ b/cacher/configure.sls @@ -7,11 +7,11 @@ - text: | systemctl unmask apt-cacher-ng systemctl start apt-cacher-ng - /sbin/iptables -I INPUT -p tcp --dport 8082 -j ACCEPT + /usr/sbin/nft insert rule qubes custom-input tcp dport 8082 accept /rw/config/qubes-firewall-user-script: file.append: - - text: /sbin/iptables -I INPUT -p tcp --dport 8082 -j ACCEPT + - text: /usr/sbin/nft insert rule qubes custom-input tcp dport 8082 accept /rw/config/qubes-bind-dirs.d/50_user.conf: file.managed: