1
0

hosts/carbon: Add scan-to-gpg

This commit is contained in:
2024-11-24 20:43:27 +01:00
parent 6dc38cf21e
commit a76e8cf3c0
7 changed files with 46 additions and 0 deletions

View File

@@ -37,6 +37,10 @@
};
};
# Enable scan-to-gpg
networking.firewall.interfaces."net-printer".allowedTCPPorts = [ 2121 ];
networking.firewall.interfaces."net-printer".allowedTCPPortRanges = [ { from = 2130; to = 2134; } ];
clerie.firewall.extraForwardFilterCommands = ''
# Allow access from Heimnetz to printer
ip46tables -A forward-filter -i net-heimnetz -o net-printer -j ACCEPT