diff --git a/README.md b/README.md index ddc4364..8e1b4c6 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Create an user `gemini_user`. Add this line to inetd.conf: ``` -11965 stream tcp nowait gemini_user /usr/local/bin/vger vger +127.0.0.1:11965 stream tcp nowait gemini_user /usr/local/bin/vger vger ``` Add this to relayd.conf @@ -77,7 +77,7 @@ tcp protocol "gemini" { relay "gemini" { listen on hostname.example port 1965 tls - protocol "gemini" + protocol "gemini" forward to 127.0.0.1 port 11965 } ``` diff --git a/vger.8 b/vger.8 index 93e07ff..888a321 100644 --- a/vger.8 +++ b/vger.8 @@ -62,7 +62,7 @@ can be used on any port because it won't be public. .Pp /etc/inetd.conf example using a dedicated gemini_user: .Bd -literal -offset indent -11965 stream tcp nowait gemini_user /usr/local/bin/vger vger +127.0.0.1:11965 stream tcp nowait gemini_user /usr/local/bin/vger vger .Ed .Pp The public port TCP/1965 must be served by a daemon like