update documentation

This commit is contained in:
root 2024-10-28 04:56:50 +03:00
parent 5b0fc439bb
commit 430b4d7703

View File

@ -15,7 +15,8 @@
- ~~`docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host -v $(pwd)/links.conf:/etc/inspircd/links.conf:ro inspi4`~~
# Linking
- Run `docker exec -it irc_ircd_linked_1 openssl x509 -fingerprint -in /etc/ssl/inspircd/server.crt` to get the fingerprints
- Run `docker exec -it irc_ircd_linked_1 openssl x509 -sha256 -fingerprint -in /etc/ssl/inspircd/server.crt | tr -d ":" | tr '[:upper:]' '[:lower:]'`
to get the fingerprints.
- On `hub.netcrave.network` add something like this to the `include.conf`:
@ -24,11 +25,11 @@
server="leaf.netcrave.network">
<link allowmask="*"
bind="*"
bind="1.2.3.4"
hidden="no"
sslprofile="defaultssl"
fingerprint="64:00:B8:EB:82:79:68:49:27:FF:9F:C1:94:91:58:E3:DA:19:05:87"
ipaddr="*"
fingerprint="c543d8a4a6c825d917d20520e4962e4bcdc3c3c5d856815f7fd626b708842baf"
ipaddr="4.2.3.1"
name="leaf.netcrave.network"
port="&env.SERVER_SSL_PORT;"
recvpass="&env.LINK_RECV_PASSWORD;"
@ -43,11 +44,11 @@
server="hub.netcrave.network">
<link allowmask="*"
bind="*"
bind="4.2.3.1"
hidden="no"
sslprofile="defaultssl"
fingerprint="78:50:91:AD:3E:85:19:49:1C:F9:FF:72:94:86:97:28:BE:8B:00:46""
ipaddr="*"
fingerprint="09afef0d8561b8d13e3e7a480ed006caed11d3f5b36c5f4569c60060baa936cd"
ipaddr="1.2.3.4"
name="hub.netcrave.network"
port="&env.SERVER_SSL_PORT;"
recvpass="&env.LINK_RECV_PASSWORD;"