From c12e70f55c0c441cb0211a8f0cc88981d2b5a724 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 1 Feb 2022 15:32:28 -0300 Subject: Feat: adds onion::liberachat and onion::oftc --- manifests/liberachat.pp | 9 +++++++++ manifests/oftc.pp | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 manifests/liberachat.pp create mode 100644 manifests/oftc.pp (limited to 'manifests') diff --git a/manifests/liberachat.pp b/manifests/liberachat.pp new file mode 100644 index 0000000..6034b73 --- /dev/null +++ b/manifests/liberachat.pp @@ -0,0 +1,9 @@ +class onion::liberachat inherits onion::socks { + # Libera.Chat via Tor + # See https://libera.chat/guides/connect#accessing-liberachat-via-tor + tor::daemon::map_address { 'liberachat': + #address => '10.40.40.40', + address => 'palladium.libera.chat', + newaddress => 'libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion', + } +} 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', + } +} -- cgit v1.2.3