summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 18:08:24 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 18:08:24 +0200
commit97f63b4739f2f0d5ed680997583908a063d9bdbe (patch)
tree467f803dc202b0f22530a3c906dea0cfe0a99737 /system-configuration.scm
parent52cca635745b64d08164888cc8e2af215df2106a (diff)
Force All Internet Traffic Through Tor
* iptables.tor.rules: Import firewall rules from Arch Wiki describing Transparent Torification ... * system-configuration (iptables-configuration): ... and use them here.
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 38f9c39..213d60e 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -45,6 +45,12 @@
( append
( list
( service cups-service-type )
+ ( service iptables-service-type
+ ( iptables-configuration
+ ( ipv4-rules
+ ( local-file "iptables.tor.rules" ) )
+ ( ipv6-rules
+ ( local-file "iptables.tor.rules" ) ) ) )
( service openssh-service-type )
( service gnome-desktop-service-type )
( service tor-service-type