tor-formula/pillar-example.sls
Georg Pfuetzenreuter bffaf777b5
Manage hidden services
Add support for managing hidden services using pillar data.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-06 22:58:11 +01:00

56 lines
1.6 KiB
Plaintext

tor:
torrc:
SOCKSPort: '0.0.0.0:9050'
RelayBandwidthRate: '500 KBytes'
AccountingMax: '20 GBytes'
AccountingStart: 'day 00:00'
ContactInfo: '0xFFFFFFFF LOL ??<<lol@example.com>>??'
# no exits allowed
ExitPolicy: 'reject *:*'
ExitRelay: '0'
ControlSocket: '0'
MaxMemInQueues: '800 MB'
torsocks:
TorAddress: '0.0.0.0'
fingerprint: 'Unnamed 88888888888888888888888888888888888888888888'
# base64
ed25519_signing_cert: |
wewerwerfwerfwefwefwefwefwefwefwefwefwefwefwwefwefwe2
wewerwerfwerfwefwefwefwefwefwefwefwefwefwefwwefwefwe
# base64
ed25519_signing_secret_key: |
ysKFJqwewerwerfwerfwefwefwefwefwefwefwefwefwefwefwwefwefwe
wewerwerfwerfwefwefwefwefwefwefwefwefwefwefwwefwefwe
# base64
ed25519_master_id_public_key: |
sOKsdsdsdsdsdsdsdsdsdsdsU5x9SDWcVn
hl58888888888888888888888888888
# base64
ed25519_master_id_secret_key: |
PT098696986986986986986986986986986986986986986986986986986860fvfXct6B
nN7q1iIh65463543546354354354354354354354354354354563khAb
secret_id_key: |
-----BEGIN RSA PRIVATE KEY-----
lksj;ljksdflksjedflslkfjdl;skjfglskdjfgl;sdjfglsdjfgl;sdjfglsdfj
szdklfjskldjfl;kasjdfl;jasdl;fajdfkjdkfjsdkjfkjdfadfjsdkfjlakdjf
-----END RSA PRIVATE KEY-----
hidden_services:
mywebsite:
virtport: 80
target: '[::1]:8080'
# this cannot "create" a new service - it is intended to install a service with an existing hostname and keypair
hostname: baz.onion
hs_ed25519_public_key: |
Zm9vCg==
hs_ed25519_secret_key: |
YmFyCg==