-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to set external advertised IP #5979
Comments
This feature is necessary for running a Monero node in any environment where the IP that outbound traffic will be SNAT'ed to differs from the IP that inbound traffic should connect to. An example is Kubernetes, where the Service abstraction for incoming connections provides an IP dedicated to the service, whereas all outbound connections from the cluster node (or in the case of private clusters, the whole cluster) are usually NAT'ed to the same IP or one of a pool of IPs. At the moment there doesn't appear to be any way to run a Monero node reliably in this kind of environment, as only outbound connections work. |
Saving this from #monero here:
I'm hoping to work on this and send a PR next week. |
I would also welcome this option. |
Related to this: is there a way to advertise a domain/sub-domain instead of an IP for RPC auto-discovery? This way you can use a reverse proxy (e.g. NGINX) to still host monero RPC when you can only forward 1 port that is already needed for other services. |
Did this ever happen? |
@tortxoFFoxtrot doesn't appear implemented yet, otherwise this issue would be closed |
Problem
I would like to run my Monero nodes (at home) behind my edge server (cloud). The nodes should use my home internet connection for outgoing connections and accept connections on the edge server.
My current setup:
My current solution is to route the upstream traffic through the VPN as well. But the Edge Server got multiple public IPs, so there is still an issue.
Proposal
I'd propose an option similar to
p2p-external-port
to set the advertised external IP:p2p-external-ip
.Reference
bitcoind already got an option like this: bitcoin/bitcoin#15
Additional reference: https://monero.stackexchange.com/questions/6600/monerod-advertise-different-external-ip
The text was updated successfully, but these errors were encountered: