Go Ethereum (geth
) is a software for Ethereum. geth doesn't provide secure networking and it should do this, as this kind of built-in functionality would increase complexity and add attack surface to critical blockchain node software. Fortunately, in UNIX world, you can easily combine different tools to work together. The solution to this particular problem is to use VPN/tunneling software for secure connections. The tunnel will expose the server local connections to your own computer. The most popular tool for this (available in every OS by default, nowadays including Windows) is [Secure Shell (SSH)][1].
Note this question only addresses issues how to
[If you are not familiar with SSH please first read SSH tutorial how to safely do passwordless logins using SSH keys][2].
Start a node on server. When the node starts it binds its RPC port to localhost
(127.0.0.1
in IPv4, ::1
in IPv6). This is so-called loopback connection that you can only access from the computer itself and not from external netwo