lightning payable VPS recommendations

This commit is contained in:
openoms
2022-03-30 09:18:56 +01:00
parent f89bd17c6c
commit 1b5bd33816
2 changed files with 12 additions and 9 deletions

View File

@@ -1,5 +1,9 @@
# Nginx scripts
Lightning Payable VPS services:
* [host4coins.net](https://host4coins.net) - from $8/month - only email address is required
* A long list of providers: <https://bitcoin-vps.com/#VPS-Europe>
## Add a custom subdomain
In this example configuration a redirect is added to a custom service on the LAN (or VPN).
@@ -42,11 +46,11 @@ bash electrum_server_subdomain.sh
## Set up SSL access for the Ride The Lightning web UI on the RaspiBlitz
Have a look through the script here: [bonus.SSL_for_RTL.sh](bonus.SSL_for_RTL.sh).
Have a look through the script here: [bonus.SSL_for_RTL.sh](bonus.SSL_for_RTL.sh).
To download, check and run:
```
wget -O bonus.SSL_for_RTL.sh https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh
wget -O bonus.SSL_for_RTL.sh https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh
cat bonus.SSL_for_RTL.sh

View File

@@ -2,16 +2,16 @@
Use the public IP address of a Virtual Private Server (VPS) to make Tor Hidden Services reachable on the clearnet.
## Advantages:
## Advantages:
* hides the IP of the host from the public and from the VPS
* no port forwarding needed on the LAN of the host
* additional encryption by Tor between the host and the VPS
* additional encryption by Tor between the host and the VPS
## Requirements:
* SSH access to a Virtual Private Server (VPS) - eg. a minimal package on Lunanode for ~3.5$/month
* Example Lightning Payable VPS services:
* [host4coins.net](https://host4coins.net)
* [bitclouds.sh](https://bitclouds.sh/) or [lntxbot](https://t.me/lntxbot) `/bitclouds`
* <https://bitcoin-vps.com/#VPS-Europe>
* Note that only the root user can forward to ports below 1000.
* Tor should not be the only encryption layer of the service as the traffic exposed on the VPS is meant to be for the `localhost`
* Always check the terms and rules of the VPS provider to avoid bans and don't do anything causing them trouble to keep these services going.
@@ -60,17 +60,16 @@ Setting up this Tor-to-IP tunnel service is now complete. You can carry on addin
You should be able access the ports/services of the host computer through: VPS_IP_ADDRESS:VPS_PORT.
To connect to LND in the example:
`lncli connect NODE_PUBLIC_KEY@VPS_IP_ADDRESS:9236`
## Monitoring on the VPS
* To check if tunnel is active on the VPS:
`# netstat -tulpn`
* Look for the lines:
```
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name ****
tcp 0 0 0.0.0.0:9236 0.0.0.0:* LISTEN 13684/socat
```
@@ -95,4 +94,4 @@ Apr 05 14:58:43 VPS_hostname systemd[1]: Started Tor2IP Tunnel Service.
* `socat` manpage: <https://linux.die.net/man/1/socat>
* Thanks to [@emzy](https://twitter.com/emzy) for the original `socat` syntax.
* Produced at the [#LightningHackSprint](https://wiki.fulmo.org/index.php?title=Lightning_HackSprint).
* Produced at the [#LightningHackSprint](https://wiki.fulmo.org/index.php?title=Lightning_HackSprint).