-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
[Enhancement] How to make all clients mutually visible to each other? #301
Comments
The There might be a hackish way to do it: Setting the x-forwarded-for header to a static value should have the desired effect. Then PairDrop gets the same (fake) IP address for all devices, so they should be mutually visible:
Enabling this behavior via env var is not implemented yet, but I’ll probably add it soon as more users have requested something along these lines. Todo:
|
I added the header but I couldn't see clients if they are not in the same network. This is my nginx proxy config:
I restarted the docker container and nginx but no luck. Do I need to recreate the container without the |
You don’t need the IPv6 localize variable. |
I relaunched the container with debug mode enabled, here's the log: When clients are on different networks (invisible):
when clients are on the same network: (visible)
|
Thanks for the logs! Is When behind cloudflare, the As CF-Connecting-IP is prioritized over X-Forwarded-For the easiest would be to use that instead:
|
This
DraftThis will be implemented as a ENV VAR:
|
Yes, I also had a similar issue that has not been resolved.
|
I have a private pairdrop instance with coturn on a VPS behind Cloudflare proxy. Since I use it for my own devices, I would like to have all the clients visible to each other by default even if they are on different networks.
In my nginx config I've commented out the
X-Forwarded-For
and during the docker deployment I have set theIPV6_LOCALIZE=7
but I'm unable to see the devices which are on different networks.Im aware of the room sharing feature but I want to have the above setup for easy access. How can I achieve this?
The text was updated successfully, but these errors were encountered: