lncm / pi-factory

Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
https://lncm.io/project/box/
Apache License 2.0
19 stars 3 forks source link

Bootstrapping .onions into image and upon boot #247

Open nolim1t opened 4 years ago

nolim1t commented 4 years ago

Allow for detection of .onions into the image (should write out the tor config file).

Implementation notes

nolim1t commented 4 years ago

Potential idea for boot time bootstrapping

On the SD card have a directory called tor. Have it detect for ssh (defaults: forwards to 22), web (defaults: forwards to 80), or lnd (defaults: forwards to 9735) or bitcoind (defaults: forwards to 8333). Obviously defaults CAN be changed by editing /etc/tor/torrc

Expansion for the make_img.sh bootstrap

Maybe have this directory tor.automatic