summaryrefslogtreecommitdiff
path: root/manifests/oftc.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/oftc.pp')
-rw-r--r--manifests/oftc.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/oftc.pp b/manifests/oftc.pp
new file mode 100644
index 0000000..8e87fa4
--- /dev/null
+++ b/manifests/oftc.pp
@@ -0,0 +1,10 @@
+class onion::oftc inherits onion::socks {
+ # OFTC via Tor
+ # See https://libera.chat/guides/connect#accessing-liberachat-via-tor
+ # https://www.oftc.net/Tor/
+ tor::daemon::map_address { 'oftc':
+ #address => '10.50.50.50',
+ address => 'irc.oftc.net',
+ newaddress => 'oftcnet6xg6roj6d7id4y4cu6dchysacqj2ldgea73qzdagufflqxrid.onion',
+ }
+}