lightning-power-users / node-launcher

Easiest Bitcoin Lightning desktop app, for Windows, macOS, and Linux
MIT License
357 stars 67 forks source link

Public node option #297

Open pedromvpg opened 5 years ago

pedromvpg commented 5 years ago

Do you need a static IP? externalip=IPADDRESS

Setting NAT to true enough? nat=true

If changed directly on lnd.conf changes seem to be ovewriten on launch.

robbie2121 commented 5 years ago

Not sure if helpful but:

1) Do you need a static IP? Yeah, enter in your static IP here with :9735 at the end of it (example: 199.234.235.33:9735). Go to google, and google: what is my public IP? ..if you dont know what it is. I think you need to port forward port 9735 in your router/firewall too.

2) nat=true is another option, if you use this option, you need to replace this with the externalip= setting. Make sure your router support upnp and it is enabled if you use this option.

3) Not sure about the lnd.conf overwritten issue you are experiencing. Are you running the latest 6.0.5 node launcher? If so, maybe try 6.0.4 ..I experienced that issue with the newest 6.0.5 (not sure if it was just me though)

jbhoz commented 5 years ago

To make node public close windows node launcher.

  1. Log into your home router as "admin"

    • Find port forwarding section.
    • Add new port application. External Port [9735]~[9735] Internal Port [9735]~[9735], Protocol TCP/UDP.
  2. Open lnd.conf

    • Delete line top line listen=127.0.0.1:9738 or your equivalent.

    • Add lines externalip="Your external ip and port" tlsextraip="Your external ip and port" If you dont know your external ip - https://myexternalip.com

    • Example. externalip=46.229.165.133:9735 tlsextraip=46.229.165.133:9735

  3. Start node launcher and wait for sync! (I assume Mac is similar but I actually have no idea lol)

Hope thats helps...