1

I have a simple question.

Should I let my server always open inbound connections when using Geth?

I want to keep my server secure by restricting inbound connections. Is there a way to use Geth only with outbound connection like Bittorrent? If there is, could you let me know what ports I have to open for it?

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • In case you allow your geth to establish outgoing connections to the nodes you don't trust, you still can be hacked by that nodes exploiting some vulnerability in geth through these connections. – Mikhail Vladimirov Mar 23 at 10:55
0

Is there a way to use Geth only with outbound connection like Bittorrent?

Yes. Simply block in the firewall incoming tcp/udp to your node's port (default 30303) and let your server initiate connection to others.

  • The only reason I can think this might be useful is to hide your node from port scanners. Any other reasons? – ivicaa Oct 8 '18 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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