atek-cloud / spork

[CLI app] Peer-to-peer socket magic in the air
https://spork.sh
MIT License
288 stars 9 forks source link

Is it possible to create a reverse proxy with a static key pair? #5

Closed mdPlusPlus closed 3 years ago

mdPlusPlus commented 3 years ago

I'd really like to use Spork to make some remote services permanently available in my home network.
However, so far I haven't found a way for the key pair to become static (as in not ephemeral). Every time I run spork bind -p 1025 it binds to a new public key.
How can I reuse existing ones? (And how can I create a hyperswarm keypair manually to then reuse?)

Is this even possible?

Edit: Nevermind, I'm an idiot. Just found the -k keyfile parameter. Sorry to pollute your issues.

pfrazee commented 3 years ago

No prob!