Currently, I can run an open node and connect my wallet from another system (with restricted-rpc to be safe)


I can run the node with RPC enabled (so I can monitor from localhost, eg monerod status, monerod stop_daemon, etc) in which case I should not bind to an external IP address (correct?).

How can I configure monerod to do both?

1 Answer 1


Kind of dodging the question, but it seems to be logically impossible, so... A way to "kinda" do both is to use a ssh tunnel to connect to your node's host, then connect through localhost, and bind RPC to loopback only.

Instructions on how to use ssh are found all over the internet, and I won't offer guidance there as I'd be more wrong than what you can find.

  • Okay, was hoping that there was something like restricted-rpc for non-localhost connections only. Commented Sep 8, 2017 at 19:51
  • Found feature request #835 which seems like it would work (just firewall off the unrestricted port). Commented Sep 19, 2017 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.