-
Notifications
You must be signed in to change notification settings - Fork 491
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
Allow custom address for the gateway #1565
Comments
@rafaelramalho19 - are you able to triage? Thank you! |
@hazae41 have you been able to make any progress on this? My team has tried many different scenarios and are unable to set a custom gateway either |
@BunkerMelon No, sorry |
Requesting @lidel help on this, I tried looking into it but I have no ways right now to test it 😢 |
I don't believe there is a problem with webui – this looks like a misconfiguration:
@BunkerMelon @hazae41 Do you mind explaining what is your use case and how your network topology looks like? Anyway, generic advice if you want to access webui of a remote node: avoid loading it over public IPs and/or ambiguous Instead, create a tunnel (eg. SSH) that redirects |
We also need this capability. The go-ipfs Docker container, as distributed, manifests this issue. Not everyone is accessing an IPFS node running locally. |
I host an IPFS daemon on a small server, which I connect through a VPN because it's more flexible than CORS headers. I also use an IPFS daemon on my local machine, so I can't map 5001 and 8080 ports on it. And even if I could just map them to other ports, SSH mapping is still a workaround for something that should work out of the box. Also, SSH mapping can't be done on every devices like iPhones or Android. Whereas connecting to a VPN and making a POST request can easily be done using automation apps. |
This is essentially the problem I am having as well, I am running an IPFS container on a SBC within the same network as the computer I am trying to access the WebUI from. The SBC is running Ubuntu server 18.04 so it isn't possible to access the WebUI on the same host.. |
Hi Team. If i add this option: --net=host in the docker run command i am able to run the gateway on another ip than localhost or 127.0.0.1. But i guess that this is not the best way to fix this. I still trying other approach but no luck yet. |
Thank you all, this is very useful feedback.
|
Thanks. About the Basic Auth for non-localhost IPS, i set on NGINX reverse proxy this. integrate this into IPFS will be awesome 🥇 |
Thank you as well @lidel Having it fall back to ipfs.io whenever it cannot reach the "local" IPFS node gateway on the network will work great for the time being. Looking forward to testing these new implementations |
Describe the bug
The gateway is set to
http://0.0.0.0:8080/
while I'm connecting from an external computer through a VPNThis bug affects the app since content in not watchable directly in the WebUI
To Reproduce
Steps to reproduce the behavior:
(1.1 Set your CORS allow-origin to "*")
Expected behavior
We should be able to set a custom gateway address
The text was updated successfully, but these errors were encountered: