Author

Topic: Need some help with c-lightning. Address is not routable... (Read 248 times)

legendary
Activity: 1819
Merit: 5547
Neighborhood Shenanigans Dispenser
But as I said, I would recommend a setting up a DMZ instead as your node will see all incoming connections coming from your routers LAN IP address.

What about WAN<->DMZ/Firewall<-port-forward->bitcoind/lnd server ?

Don't seem to have any issues with the Bitcorn node so far.

I did make sure to add the --ipaddr with my WAN IP. Not showing up on any maps yet tho Sad

Figured I've done something wrong.
sr. member
Activity: 490
Merit: 389
Do not trust the government
Thanks.  Ok, here is the fix:

Just make sure to forward port 9735 to the host running lightningd and add --ipaddr to the lightningd command line.

If necessary add rpcport=8332 to bitcoin.conf and reboot.


Yes Smiley
But as I said, I would recommend a setting up a DMZ instead as your node will see all incoming connections coming from your routers LAN IP address.
This is why you don't port forward Bitcoin node, as eventually your node automatically blacklists some node for spamming and then you can't get any inbound connections as it bans your router.
legendary
Activity: 1304
Merit: 1015
Thanks.  Ok, here is the fix:

Just make sure to forward port 9735 to the host running lightningd and add --ipaddr to the lightningd command line.

If necessary add rpcport=8332 to bitcoin.conf and reboot.
sr. member
Activity: 490
Merit: 389
Do not trust the government
I think your node needs to be accessible from the Internet in order for lightning-c to work.
You will probably need to put your computer in DMZ as with port forwarding your node will not be aware of the IP address of the node that is connecting to it.

You will need to specify your public IP address with an argument. I think --ipaddr is the argument for this.
legendary
Activity: 1304
Merit: 1015
bitcoind is running and is synchonized. I am trying to run lightning with the first command and I get this error:

lightningd/lightningd --log-level=debug

    lightningd(3684): Trying to guess public addresses...

    lightningd(3684): Address 192.168.1.12:9735 is not routable

    lightningd(3684): Failed to connect 10 socket: Network is unreachable

My bitcoin.conf file has these lines:

    server=1

    rpcuser=aUser

    rpcpassword=aPassword

Any help would be appreciated.
My computer is behind a router...
Jump to: