Skip to content

Instantly share code, notes, and snippets.

@notlesh
Created March 25, 2020 16:57
Show Gist options
  • Save notlesh/64edf5d8584af8f547b3adf69a6cc421 to your computer and use it in GitHub Desktop.
Save notlesh/64edf5d8584af8f547b3adf69a6cc421 to your computer and use it in GitHub Desktop.
wip - conf generation
# this configuration was auto generated with 'sane' defaults
# change these values as desired
[router]
# number of crypto worker threads
threads=4
# path to store signed RC
contact-file=/home/stephen/.lokinet/self.signed
# path to store transport private key
transport-privkey=/home/stephen/.lokinet/transport.private
# path to store identity signing key
ident-privkey=/home/stephen/.lokinet/identity.private
# encryption key for onion routing
encryption-privkey=/home/stephen/.lokinet/encryption.private
netid=gamma
# uncomment following line to set router nickname to 'lokinet'
#nickname=lokinet
# maintain min connections to other routers
min-routers=4
# hard limit of routers globally we are connected to at any given time
max-routers=6
[logging]
level=info
# uncomment for logging to file
type=json
#file=/path/to/logfile
# uncomment for syslog logging
#type=syslog
# admin api
[api]
enabled=true
#authkey=insertpubkey1here
#authkey=insertpubkey2here
#authkey=insertpubkey3here
bind=127.0.0.1:1190
# system settings for privileges and such
[system]
user=lokinet
group=lokinet
pidfile=/home/stephen/.lokinet/lokinet.pid
# dns provider configuration section
[dns]
# resolver
upstream=1.1.1.1
bind=127.3.2.1:53
# network database settings block
[netdb]
# directory for network database skiplist storage
dir=/home/stephen/.lokinet/netdb
# bootstrap settings
[bootstrap]
# add a bootstrap node's signed identity to the list of nodes we want to bootstrap from
# if we don't have any peers we connect to this router
add-node=/home/stephen/.lokinet/bootstrap.signed
# snapps configuration section
[services]
# uncomment next line to enable a snapp
#example-snapp=/home/stephen/.lokinet/snapp-example.ini
# network settings
[network]
profiles=/home/stephen/.lokinet/profiles.dat
# uncomment next line to add router with pubkey to list of routers we connect directly to
#strict-connect=pubkey
# uncomment next line to use router with pubkey as an exit node
#exit-node=pubkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment