shermand100 / PiNodeXMR

Monero Node for Single Board Computers with Web Interface and additional tools pre-configured. Self Installing.
GNU General Public License v3.0
221 stars 41 forks source link

Feature request: Cloudflare DNS (Tunnel) #99

Open CrashedCrash opened 1 year ago

CrashedCrash commented 1 year ago

Salute together, I'm really excited about the PiNodeXMR project and thank everyone who contributes improvements there.

I also managed to connect to NGNIX via Cloudflare (port 80) so I can see everything outside via VPN.

But unfortunately it does not work via TCP to address my node from outside :(

I would be very happy if you could have a look if you could integrate Cloudflare as DNS (tunnel).

Here is a project that supports it: https://github.com/monero-ecosystem/moneriote-python

CrashedCrash commented 1 year ago

And are IPv6 inbounds blocked

shermand100 commented 1 year ago

Hi, sorry for the delay, I don't know how this issue slipped past me.

Easiest to start with this

And are IPv6 inbounds blocked?

IPv6 should be disabled on the PiNodeXMR device, but for your custom network settings this can probably be changed but I've not tested it. The reason we have only IPv4 is that when the IP is bound for the start of Monerod and other services we use hostname -I to retrieve the local IP, then awk the value in the first column and bind to it. IPv4 works best with this method and the IPv6 address listed after it is ignored anyway. If you wanted to experiment with IPv6 and PiNodeXMR a change was made a while ago to enable a user to set a custom IP in the file /home/pinodexmr/variables/deviceIp.sh I've not tried doing this but you may be able to set an IPv6 address in there.

Can you explain the first bit again though please. I get that you can see the web-ui when tunnelled via VPN (never expose the Web-UI publicly as anyone that finds the page can solo mine to their own address.) But is your issue that the mobile wallet can't find your RPC port/address?