-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add comments in config files to help users
Adding comment in config file help users to edit it without having to keep documentation opened on side. Change-Id: If58dd43dd6c5ac5dbb4209881fb4c14bd0d88e78
- Loading branch information
1 parent
8838918
commit f81d36b
Showing
5 changed files
with
126 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,41 @@ | ||
# The bootstrap node serves as the entry point to the DHT network. | ||
# By default, bootstrap.jami.net is configured for the public DHT network and should be used for personal use only. | ||
# For production environments, it is recommended to set up your own bootstrap node to establish your own DHT network. | ||
# Documentation: https://docs.jami.net/en_US/user/lan-only.html#boostraping | ||
bootstrap: "bootstrap.jami.net" | ||
|
||
# TURN server is used as a fallback for connections if the NAT block all possible connections. | ||
# By default is turn.jami.net (which uses coturn) but can be any TURN. | ||
# Developer must set up their own TURN server. | ||
# Documentation: https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html | ||
turn_host: "turn.jami.net" | ||
turn_user: "ring" | ||
turn_pass: "ring" | ||
turn_realm: "ring" | ||
port: 22 | ||
|
||
# When verbose is set to true, the server logs all incoming connections | ||
verbose: false | ||
|
||
# On server, identities are saved in /etc/dhtnet/id/ | ||
# On client, identities are saved in ~/.dnc/ | ||
#certificate: "to/your/certificate.crt" | ||
#privateKey: "to/your/privatekey.pem" | ||
|
||
|
||
########################## | ||
### For Client Use Only ## | ||
########################## | ||
|
||
# When dnc server receives connexions, it forwards them to service at specified IP:port requested by CLIENT. | ||
# By default, it forwards them to SSH server running on localhost at port 22 | ||
ip: "127.0.0.1" | ||
# certificate: "to/your/certificate.crt" | ||
# privateKey: "to/your/privatekey.pem" | ||
anonymous: true | ||
verbose: false | ||
port: 22 | ||
|
||
########################## | ||
### For Server Use Only ## | ||
########################## | ||
|
||
# When anonymous is set to true, the server accepts any connection without checking CA | ||
# When anonymous is set to false, the server allows only connection which are issued by the same CA as the server | ||
anonymous: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,37 @@ | ||
# The bootstrap node serves as the entry point to the DHT network. | ||
# By default, bootstrap.jami.net is configured for the public DHT network and should be used for personal use only. | ||
# For production environments, it is recommended to set up your own bootstrap node to establish your own DHT network. | ||
# Documentation: https://docs.jami.net/en_US/user/lan-only.html#boostraping | ||
bootstrap: "bootstrap.jami.net" | ||
|
||
# TURN server is used as a fallback for connections if the NAT block all possible connections. | ||
# By default is turn.jami.net (which uses coturn) but can be any TURN. | ||
# Developer must set up their own TURN server. | ||
# Documentation: https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html | ||
turn_host: "turn.jami.net" | ||
turn_user: "ring" | ||
turn_pass: "ring" | ||
turn_realm: "ring" | ||
|
||
# On server, identities are saved in /etc/dhtnet/id/ | ||
# On client, they are generaly saved in ~/.dnc/ | ||
#certificate: "to/your/certificate.crt" | ||
#privateKey: "to/your/privatekey.pem" | ||
|
||
|
||
########################## | ||
### For Client Use Only ## | ||
########################## | ||
|
||
# When dsh server receives connexions, it run the specified binary requested by client | ||
binary: "bash" | ||
# certificate: "/path/to/ca" | ||
# privateKey: "/path/to/privateKey" | ||
|
||
|
||
########################## | ||
### For Server Use Only ## | ||
########################## | ||
|
||
# When anonymous is set to true, the server accepts any connection without checking CA | ||
# When anonymous is set to false, the server allows only connection which are issued by the same CA as the server | ||
anonymous: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,28 @@ | ||
# The bootstrap node serves as the entry point to the DHT network. | ||
# By default, bootstrap.jami.net is configured for the public DHT network and should be used for personal use only. | ||
# For production environments, it is recommended to set up your own bootstrap node to establish your own DHT network. | ||
# Documentation: https://docs.jami.net/en_US/user/lan-only.html#boostraping | ||
bootstrap: "bootstrap.jami.net" | ||
|
||
# TURN server is used as a fallback for connections if the NAT block all possible connections. | ||
# By default is turn.jami.net (which uses coturn) but can be any TURN. | ||
# Developer must set up their own TURN server. | ||
# Documentation: https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html | ||
turn_host: "turn.jami.net" | ||
turn_user: "ring" | ||
turn_pass: "ring" | ||
turn_realm: "ring" | ||
# configuration_file: "HOME/dhtnet/tools/dvpn/dvpn.yaml" # Change this to the path of the dvpn.yaml file | ||
# certificate: /path/to/certificate | ||
# privateKey: /path/to/privateKey | ||
|
||
# On server, identities are saved in /etc/dhtnet/id/ | ||
# On client, they are generaly saved in ~/.dnc/ | ||
#certificate: "to/your/certificate.crt" | ||
#privateKey: "to/your/privatekey.pem" | ||
|
||
|
||
########################## | ||
### For Server Use Only ## | ||
########################## | ||
|
||
# When anonymous is set to true, the server accepts any connection without checking CA | ||
# When anonymous is set to false, the server allows only connection which are issued by the same CA as the server | ||
anonymous: false |