Tunnelsats / tunnelsats

Tunnel⚡Sats: Pre-configured VPN for Lightning Nodes
https://tunnelsats.github.io/tunnelsats/
MIT License
34 stars 9 forks source link

Start9 community package #144

Open chGoodchild opened 2 weeks ago

chGoodchild commented 2 weeks ago

It would be cool to have support for Start9. What would it take to do this?

https://github.com/Tunnelsats/tunnelsats/pull/143

chGoodchild commented 2 weeks ago

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:

https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

Tobben67 commented 2 weeks ago

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:

https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

Sovereign plebs have been waiting for 🌐Clearnet🌐 for LND and Core Lightning-nodes at StartOS AKA Sovereign Computing by Start9 for several years.

Let's once and for all make ⚡️TunnelSats⚡️ available on StartOS, @blckbx @ziggie1984 @TrezorHannes 🙏

nostr note #1 from Start9:

"I'm not familiar with it (TunnelSats) personally, but looks cool.

If the TunnelSats team or somone else from the community packages it for StartOS, then yes, it will be available 😃

We're available to help if anyone wants to take it on, should be pretty straightforward for StartOS 0.3.6 based on the looks of it."

Source:

https://primal.net/e/note1qlckm2tdqksg0z4q6f9qwhjcarrgnhkrqme4maw0r6qn43xztz3s079e9s

nostr note #2 from @chGoodchild

"Upfront zap returned because it turned out to be more work than expected. Others are welcome to pick up where I left off:"

Source:

https://primal.net/e/note1q5expxkzntttkx965mm3rg5cry0x9tpgunu3vd8h4q4nvhwcj7esyrq59t

Tobben67 commented 2 weeks ago

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:

https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

nostr note by @chGoodchild

"@Start9, I started packaging it, but tunnelsats can only be setup if a lightning implementation is already running on the machine.

According to the forums, testnet bitcoind can't be side loaded onto the start9. What would be the easiest/fastest way to spin up core lightning on a start9 without downloading+verifying the entire chainstate?

Is there a way to sideload pre-pruned blocks to set things up more quickly?"

Source:

https://primal.net/e/note10kj7ra8hdth4u870k5t5fqsrfknxmf228czfsfescddv3ne8245s2508rh

blckbx commented 2 weeks ago

IMHO the problem's name here is "community package". I don't know how restrictive these Start9 packages have to be and how far they can reach into the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

Tobben67 commented 1 week ago

IMHO the problem's name here is "community package".

I don't know how restrictive these Start9 packages have to be and how far they can reach into the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

Thanks for your feedback @blckbx

As you probably saw on nostr, this is the response from Start9 at nostr

1

"StartOS 0.3.6 exposes all the OS access/features you need. But it certainly needs to be packaged into an s9pk using our guide and SDK"

Source:

https://primal.net/e/note1drxgqm7dk5zp0vesdkht0cad6ftcupzfffhw2qa9dpgzctxef82qdt0nlt

2

"Noderunners on “Sovereign Computing” / StartOS are counting days for when we can upgrade from StartOS v0.3.5.1 to v0.3.6 to get Clearnet on LND and Core Lightning.

Question to Start9 / MattHill / dr-bonez; Can the StartOS v0.3.6 alpha become available for testing by Team TunnelSats / @blckbx / @TrezorHannes / @ziggie1984 + @chGoodchild?"

Source:

https://primal.net/e/note16rucn8n3mun2xql0z9pu2u6u4g666l3uyvdj8akx7y9fjljnrvnsakursm

TrezorHannes commented 1 week ago

Thanks for bringing this forward. This is no commit, but a promising update from the Start9 team. I'll start by spinning up a new start9 node to get a better understanding of their current architecture. Will also check into the existing thread with the start9 staff to see how much they can help.

We can certainly use some help on the packaging at the end, too. Let's see how far we can progress this together

Tobben67 commented 3 days ago

I'm grateful that you're looking into the current StartOS architecture, @TrezorHannes

I believe @blckbx is right when it comes to StartOS v0.3.5.1

IMHO the problem's name here is "community package". I don't know how restrictive these Start9 packages have to be and how far they can reach into the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

The great news is that the architecture will change enormously in StartOS v0.3.6, which is in alpha testing.

If you want more information about the upcoming changes in StartOS v0.3.6, I highly recommend this amazing discussion with Matt Hill, the Start9 co-founder and CEO.

"CD134: SELF HOSTING, START9, AND STARTOS WITH MATT HILL - COFOUNDER"

https://fountain.fm/episode/BHpub95Eg8pIqC32dth6

Best regards

TrezorHannes commented 3 days ago

"CD134: SELF HOSTING, START9, AND STARTOS WITH MATT HILL - COFOUNDER"

https://fountain.fm/episode/BHpub95Eg8pIqC32dth6

Okay thanks, will check it out. I'm a little surprised that the last commit to 0.36.alpha was back in April https://github.com/Start9Labs/start-os/commits/v0.3.6-alpha.0/

Let's see if it still has traction.