summaryrefslogtreecommitdiff
path: root/openbsd/frontends/etc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/frontends/etc')
-rw-r--r--openbsd/frontends/etc/relayd.conf.tpl (renamed from openbsd/frontends/etc/relayd.conf:blowfish)4
-rw-r--r--openbsd/frontends/etc/relayd.conf:twofish20
2 files changed, 2 insertions, 22 deletions
diff --git a/openbsd/frontends/etc/relayd.conf:blowfish b/openbsd/frontends/etc/relayd.conf.tpl
index a46877f..d8553b2 100644
--- a/openbsd/frontends/etc/relayd.conf:blowfish
+++ b/openbsd/frontends/etc/relayd.conf.tpl
@@ -8,13 +8,13 @@ tcp protocol "gemini" {
}
relay "gemini4" {
- listen on 23.88.35.144 port 1965 tls
+ listen on <%= $vio0_ip %> port 1965 tls
protocol "gemini"
forward to 127.0.0.1 port 11965
}
relay "gemini6" {
- listen on 2a01:4f8:c17:20f1::42 port 1965 tls
+ listen on <%= $ipv6address->($hostname) %> port 1965 tls
protocol "gemini"
forward to 127.0.0.1 port 11965
}
diff --git a/openbsd/frontends/etc/relayd.conf:twofish b/openbsd/frontends/etc/relayd.conf:twofish
deleted file mode 100644
index de65edf..0000000
--- a/openbsd/frontends/etc/relayd.conf:twofish
+++ /dev/null
@@ -1,20 +0,0 @@
-log connection
-
-tcp protocol "gemini" {
- tls keypair buetow.org
- tls keypair snonux.de
- tls keypair foo.zone
- tls keypair irregular.ninja
-}
-
-relay "gemini4" {
- listen on 108.160.134.135 port 1965 tls
- protocol "gemini"
- forward to 127.0.0.1 port 11965
-}
-
-relay "gemini6" {
- listen on 2401:c080:1000:45af:5400:3ff:fec6:ca1d port 1965 tls
- protocol "gemini"
- forward to 127.0.0.1 port 11965
-}