[GH-ISSUE #909] Windows 7 and Ubuntu 20.04 no longer working after windows sleep #725

Closed
opened 2026-05-05 06:59:46 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @dookei on GitHub (Oct 12, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/909

Hi there,
My barrier worked for a day! :-)
Both machines are on the same local network and both can ping each other.
I disabled already all the firewalls to see if the issue was related to the firewall. No luck neither.
The weird thing is that this worked already before. The only thing I have done was to put the windows machine to sleep for the night. In the next morning no longer connects to the server.
I also tried to set the server on the windows machine. Reinstall Barrier on both machines ...etc... nothing seams to work no more.
My Barrier version on both machines is 2.3.2.
Any idea what might be?

Greetings

Originally created by @dookei on GitHub (Oct 12, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/909 Hi there, My barrier worked for a day! :-) Both machines are on the same local network and both can ping each other. I disabled already all the firewalls to see if the issue was related to the firewall. No luck neither. The weird thing is that this worked already before. The only thing I have done was to put the windows machine to sleep for the night. In the next morning no longer connects to the server. I also tried to set the server on the windows machine. Reinstall Barrier on both machines ...etc... nothing seams to work no more. My Barrier version on both machines is 2.3.2. Any idea what might be? Greetings
Author
Owner

@mcnaveen commented on GitHub (Oct 12, 2020):

Can you post the log? I too faced the same kinda issue. #737

<!-- gh-comment-id:707399824 --> @mcnaveen commented on GitHub (Oct 12, 2020): Can you post the log? I too faced the same kinda issue. #737
Author
Owner

@dookei commented on GitHub (Oct 13, 2020):

Hi @mcnaveen ,
thanks for your reply. The solution that you proposed also worked for me ?
sudo iptables -I INPUT -p tcp --dport 24800 --syn -j ACCEPT
I believe that when I activated the vpn kill switch it closed some ports for me. I now added this command to the startup script with barrier. Many thanks !

<!-- gh-comment-id:707507537 --> @dookei commented on GitHub (Oct 13, 2020): Hi @mcnaveen , thanks for your reply. The solution that you proposed also worked for me ? **sudo iptables -I INPUT -p tcp --dport 24800 --syn -j ACCEPT** I believe that when I activated the vpn kill switch it closed some ports for me. I now added this command to the startup script with barrier. Many thanks !
Author
Owner

@mcnaveen commented on GitHub (Oct 13, 2020):

You're Welcome 🙂

<!-- gh-comment-id:707512931 --> @mcnaveen commented on GitHub (Oct 13, 2020): You're Welcome 🙂
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#725
No description provided.