I am using Synergy to connect my desktop (GNU/Linux. connected via cable to router) to my laptop (OSX ElCapitan. connected via WiFi).
It works like a charm if I use the laptop as the server;
From desktop (client):
me@my-desktop ~ $ sudo lsof -i :24800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
synergyc 5533 me 6u IPv4 46314 0t0 TCP 192.168.0.2:38706->192.168.0.3:24800 (ESTABLISHED)
And from laptop (server):
My-MacBook-Pro:~ me$ sudo lsof -i :24800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
synergys 17646 me 4u IPv4 0x728ca44823ae6a59 0t0 TCP *:24800 (LISTEN)
synergys 17646 me 14u IPv4 0x728ca44822d02fb9 0t0 TCP 192.168.0.3:24800->192.168.0.2:38706 (ESTABLISHED)
But when I switch it around, it wont connect. (In Synergy I get: Connection timed out).
From the desktop (now server):
me@my-desktop ~ $ sudo lsof -i :24800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
synergys 5611 me 6u IPv4 45707 0t0 TCP *:24800 (LISTEN)
And from the laptop (now client):
My-MacBook-Pro:~ me$ sudo lsof -i :24800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
synergyc 17662 me 4u IPv4 0x728ca4482eed3c39 0t0 TCP 192.168.0.3:60629->192.168.0.2:24800 (SYN_SENT)
I imagine this is some kind of network/firewall problem and not a Synergy problem per say.
So how do I fix this issue? What machine is blocking the communication? My understanding is that since my desktop is listening its port has to be open. And my laptop sends a request so where is the communication blocked?