torch-agent/torch.conf

49 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2020-10-23 10:32:33 +00:00
#################
# The `tor` section heading is required
2020-10-02 14:34:30 +00:00
[tor]
2020-10-23 10:32:33 +00:00
# Optional: The Tor onion proxy host and port (default: 127.0.0.1:9050)
#ProxyHost 127.0.0.1
ProxyPort = 9050
2020-10-23 10:32:33 +00:00
# Optional: The Tor controller port (default: 9051) for creating new hidden services
2020-10-02 14:34:30 +00:00
ControllerPort = 9051
2020-10-23 10:32:33 +00:00
#################
# The `ssh` section heading is required
2020-10-02 14:34:30 +00:00
[ssh]
2020-10-23 10:32:33 +00:00
# Optional: Local SSH sevice port (default: 22)
2020-10-02 14:34:30 +00:00
Port = 22
2020-10-23 10:32:33 +00:00
#################
# The `mqtt` section heading is required
2020-10-02 14:34:30 +00:00
[mqtt]
2020-10-19 22:07:36 +00:00
2020-10-23 10:32:33 +00:00
# Optional: The MQTT broker host and port (default: localhost:1883)
# Can be either IPv4 or Tor onion hostname
2020-10-19 22:07:36 +00:00
BrokerHost = mqtt.example.com
#BrokerHost = example1i3uyrbfoi3fi.onion
2020-10-02 14:34:30 +00:00
BrokerPort = 1883
2020-10-23 10:32:33 +00:00
# Optional: ID that will be used as an MQTT client ID when connecting to the broker (defaults to the current host's hostname)
ClientID = my-client
2020-10-23 10:32:33 +00:00
# Optional: Topic to be used when publishing connection info (defaults to 'torch/[hostname]/onion_url')
#Topic = example/topic
2020-10-02 14:34:30 +00:00
2020-10-23 10:32:33 +00:00
### Optional: TLS Options
#
# Note: when CaFile, CertFile and KeyFile are ALL defined, then TLS (MQTTS) is used to connect to the broker. Otherwise MQTT is used.
#
2020-10-02 14:34:30 +00:00
2020-10-23 10:32:33 +00:00
# Optional: Whether or not TORch Agent will verify the hostname of the broker and require it to match the name on the certificate the broker provides. This will be automatically DISABLED for connections to Tor onion hosts
2020-10-02 14:34:30 +00:00
#RequireCertificate = true
2020-10-23 10:32:33 +00:00
2020-10-02 14:34:30 +00:00
#CaFile = ca.crt
#CertFile = client.crt
#KeyFile = client.key