mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1745] Multiple IP Addresses #1288
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1288
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quartzeye on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1745
What happened?
I have Barrier installed on (3) computers, (2) Win10 and (1) Fedora. On all three I have VMware workstation and OpenVPN for vpn access to work and customers. That yields multiple real and virtual network devices with their own IP LAN segment on each computer. Barrier will not align with the physical network adapter and the local IP LAN segment and seems to be binding to the VMware virtual bridge as that is the IP that is bold in the configuration panel on each computer.
Entering the IP address in the configuration panel does not for alignment either. The documentation is woefully absent on how to force Barrier to bind to a specific LAN segment that all my computers are attached to. Could someone please articulate in explicit detail how to manually force Barrier to attach to and communicate with other computers on a specific LAN segment rather than allowing it to randomly select one that is incorrect.
I suspect I will need a custom barrier.conf file but again the documentation seems to be lacking in detail and examples on how to configure barrier for networking.
I would appreciate clarity and guidance on how to configure Barrier to work correctly with my environment or at least an explanation on whether forced alignment to specific LAN segments is supported.
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
From the Github page
What OSes are you seeing the problem on? (Check all that apply)
Linux, Windows
What OS versions are you using?
Win10 and Fedora 35
Relevant log output
No response
Any other information
No response
@wzh1895 commented on GitHub (Sep 11, 2022):
I have the same problem and would appreciate any input from the developer. Thanks!
@gbdrbob commented on GitHub (Oct 27, 2022):
I also have this issue. My barrier server has two IP adresses as it runs zerotier. I need barrier to bind to the local LAN IP but it always binds to the zerotier interface.
The only workaround I have found is to disconnect from zerotier, launch barrier and then reconnect, so barrier only sees the local LAN interface. Using the documented --address command line option doesn't seem to do anything at all, barrier still binds to the wrong interface.
@Am0rphous commented on GitHub (Mar 13, 2023):
Same. It is very frustrating that the app doesn't have the option to prohibit barrier to run on specific interfaces.. 😖
@quartzeye commented on GitHub (Mar 13, 2023):
I found the secret is making sure that you build out a .conf/.sgc file properly and set Barrier to auto-start with that configuration. While I have no confirmed it in the documents, I believe that if you have the server setup to use a valid configuration that encompasses your entire environment that the clients pull those setting when they auto-start and have auto-config turned on.
To that end I have gotten, through trial and a lot of error, a four system configuration that works seamlessly. Adding in Voicemeeter and I now have one computer for all streaming with my mouse, keyboard and headset connected that seemlessly proxies bi-directional audio, KVM, and clipboard across all my systems. Both Windows and Linux. Although Linux audio has an additional need for JACK audio to work.
@Quadstronaut commented on GitHub (Dec 4, 2023):
I installed virtualbox and Barrier is defaulting to the virtual network adapter, which is completely useless for the server. I'd love to see this made configurable.
@hiuling commented on GitHub (Jan 3, 2024):
i am using windows 11 as server side, have 3 different ip so i set the designated ip in setting->networking->address. and disabled SSL
then arch linux as client side, also set the my arch ip in the setting->networking->address. and disabled SSL.
then as client i also input the designated ip set in first step as the server ip. both the ip need to be in the same subnet.
the connection is successful
however whenever my cursor gets into the client side, it sticks to one of the corner then wont move again.
@hiuling commented on GitHub (Jan 3, 2024):
for this problem its due to the display is enlarged by 125%, after change back to 100% everything works fine.
@CPioGH2002 commented on GitHub (Mar 17, 2025):
If it's still relevant, a note on how to use the command line options from here:
Keep in mind that you have to start barrier via "barriers" (without the quotes) to make sure the server starts and accepts the options that follow. If you just use "barrier" (without the "s" = GUI-based interface) and try to add the options, they are not accepted at all, which is what you might be describing.
For example,
barriers -f --no-tray --debug INFO --name [server name] -c /home/[user]/barriercfg.conf -a 192.168.1.1:24800will properly bind to192.168.1.1as opposed to using all available network interfaces (which is what happens if no addresses are defined).One can check the result with
ss -tlnp | grep barriersand see how the "all" definition of0.0.0.0changes to the one you have defined via the options (=192.168.1.1in the above example).@nbolton commented on GitHub (Mar 17, 2025):
If there is still interest in this feature, please cross-post this to Deskflow or Input Leap as Barrier is no longer in development.
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
Both are compatible with Barrier client/server so you can try on one of your computers.
@CPioGH2002 commented on GitHub (Mar 18, 2025):
Thanks for the heads-up. I will certainly check them both out. :-)