Skip to content

Instantly share code, notes, and snippets.

@sidouglas
Created January 19, 2021 08:59
Show Gist options
  • Save sidouglas/6073b677ae114cf7734d2d10c59bfb2d to your computer and use it in GitHub Desktop.
Save sidouglas/6073b677ae114cf7734d2d10c59bfb2d to your computer and use it in GitHub Desktop.
Connecting Barrier linux and machines
Refer: https://github.com/debauchee/barrier/issues/597
1. Start Barrier on Linux server - its IP is 192.168.1.135
2. Start Barrier on MacOS client, set it to connect to 192.168.1.135
Client shows "WARNING: failed to connect to sever: Timed out"
I verified Barrier was running and listening on the right port:
kit@wanderer:~$ sudo netstat -tupan | grep barrier
tcp6 0 0 :::24800 :::* LISTEN 31192/barriers
tcp6 0 0 :::35785 :::* LISTEN 31068/barrier
kit@wanderer:~$
3. sudo iptables -I INPUT -p tcp --dport 24800 --syn -j ACCEPT
4. Set both screen names of the mac and linux machines to something plain and simple ( no punctuation )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment