From c9f49f52e33dfc0387d20ee97e6f2129a4a44533 Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Tue, 13 Oct 2020 15:08:24 -1000 Subject: [PATCH] addded ufw --- 18_1_Verifying_Your_Lightning_Setup.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/18_1_Verifying_Your_Lightning_Setup.md b/18_1_Verifying_Your_Lightning_Setup.md index bca67dd..d8b3abd 100644 --- a/18_1_Verifying_Your_Lightning_Setup.md +++ b/18_1_Verifying_Your_Lightning_Setup.md @@ -153,6 +153,15 @@ $ sudo systemctl enable lightningd.service $ sudo systemctl start lightningd.service ``` +### Enabling Remote Connections + +If you have some sort of firewall, you'll need to open up port 9735, to allow other Lightning nodes to talk to you. + +If you use `ufw` from Bitcoin Standup, this is done as follows: +``` +$ sudo ufw allow 9735 +``` + ## Verifying your Node You can check if your Lightning node is ready to go by comparing the output of `bitcoin-cli getblockcount` with the `blockheight` result from `lightning-cli getinfo`.