mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1121] Ubuntu Client error: No route to host #898
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#898
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 @tienloc1 on GitHub (Apr 8, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1121
It's working fine for me yesterday but it's stopped now.
Server: Windows 10 - Server IP: 192.168.1.6
Firewall - Inbound: Added port 24800 - Done
Test-NetConnection result:
Client: Ubuntu 20.04 - Client IP: 192.1.68.1.5
I'm not sure what happened and how I can resolve it now :(.
@tienloc1 commented on GitHub (Apr 8, 2021):
It's working again now, but the server IP changed 192.168.1.6 to 192.168.1.3, I'm not sure why the problem resolved by itself but seems it's related to the server IP.
@tienloc1 commented on GitHub (Apr 13, 2021):
The problem repeated again many times :(
@stonespheres commented on GitHub (Apr 14, 2021):
Are you using DHCP?
I suspect you're getting a new lease from your router to your server, which requires you to change the server IP address in Barrier.
You can check your IP with:
EDIT: - I've just seen the server is Windows 10, these commands are for Ubuntu.
I'll leave them up as they may help you determine how to solve the issue on a Windows system.
You may also be able to specify the host name in Barrier, but I'm not 100% sure about this. To find the hostname of your server:
If you determine that it is DHCP causing the issue, or you just figure you need to work out a solution concerning changing IP addresses, may I suggest a script that grabs the servers IP address, starts Barrier on the server, then ssh a remote command to the client with the server details to start Barrier on the client. For example, I have setup:
@ERasnier commented on GitHub (Apr 16, 2021):
Yeah the client connects with the server ip entered and nothing else. You'd have to re-enter the new server ip every time the server resets.
@stonespheres commented on GitHub (Apr 16, 2021):
It's possible to start the client instance from the server, it may help with your situation until you can assign your server a static IP address. The easiest way to do this is with
sshRegarding the constantly changing server address: you most likely will be to be able to assign a static IP to your server from your router if it's causing you issues.
@ERasnier commented on GitHub (Apr 16, 2021):
I'm getting a refused connection from the ssh command but on the server logs it's saying that client connection has been accepted. The server logs endlessly repeats the idea that two client connections has been accepted but disconnects.
EDIT: Fixed. This it works completely now but a note that installing through snap is in a different directory than normal and a file called TrustedServers is needed
.local/share/barrier/SSL/Fingerprints/TrustedServers.txt. The file should contain the SSL fingerprint.