I’m playing around with IPFS, and I’m curious what the best practices are considered to be for running the IPFS browser companion when your IPFS node is running on a remote server and not your local machine.
When installing IPFS on Ubuntu as a snap on a remote server (Install ipfs on Ubuntu using the Snap Store | Snapcraft), I’ve noticed that I need to set up an SSH tunnel for both port 5001 and 8080 in order for IPFS Companion to behave normally, as it expects to reach those on localhost by default, and those ports aren’t exposed beyond localhost on my server out of the box. This makes me think that what I’m doing isn’t supported…
Can someone clear up the expected behavior for me? Thanks!