summaryrefslogtreecommitdiff
path: root/openbsd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-22 11:01:31 +0000
committerPaul Buetow <paul@buetow.org>2022-01-22 11:01:31 +0000
commitdd3aa0f4afa26987fa85e37033a4ff20a5c4bfa9 (patch)
treed23e05dcaa7ef82a1676ca305e046c1e86940bc7 /openbsd
parente89c21884e2c3866328347ea6f005ffac6782012 (diff)
use vger with inetd and relayd
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/frontends/etc/inetd.conf1
-rw-r--r--openbsd/frontends/etc/rc.conf.local5
-rw-r--r--openbsd/frontends/etc/relayd.conf12
3 files changed, 17 insertions, 1 deletions
diff --git a/openbsd/frontends/etc/inetd.conf b/openbsd/frontends/etc/inetd.conf
new file mode 100644
index 0000000..d0d3a84
--- /dev/null
+++ b/openbsd/frontends/etc/inetd.conf
@@ -0,0 +1 @@
+127.0.0.1:11965 stream tcp nowait www /usr/local/bin/vger vger
diff --git a/openbsd/frontends/etc/rc.conf.local b/openbsd/frontends/etc/rc.conf.local
index d8c4856..842f16d 100644
--- a/openbsd/frontends/etc/rc.conf.local
+++ b/openbsd/frontends/etc/rc.conf.local
@@ -1,2 +1,5 @@
-pkg_scripts="uptimed httpd geminid"
httpd_flags=
+inetd_flags=
+nsd_flags=
+pkg_scripts="uptimed httpd"
+relayd_flags=
diff --git a/openbsd/frontends/etc/relayd.conf b/openbsd/frontends/etc/relayd.conf
new file mode 100644
index 0000000..927eab6
--- /dev/null
+++ b/openbsd/frontends/etc/relayd.conf
@@ -0,0 +1,12 @@
+log connection
+
+tcp protocol "gemini" {
+ tls keypair buetow.org
+ tls keypair snonux.de
+}
+
+relay "gemini" {
+ listen on vio0 port 1965 tls
+ protocol "gemini"
+ forward to 127.0.0.1 port 11965
+}