{
  "$type": "site.standard.document",
  "canonicalUrl": "https://rickymoorhouse.uk/blog/2011/2011-10-05-firewall-rules-for-synergy-in-iptables",
  "path": "/blog/2011/2011-10-05-firewall-rules-for-synergy-in-iptables",
  "publishedAt": "2011-10-05T12:02:31.000Z",
  "site": "at://did:plc:r53zv4vpzeihop3aliwyejlu/site.standard.publication/3mos5q3a7jf2w",
  "textContent": "For a while I've been turning off iptables to let my secondary machine connect as synergy client to let me use one keyboard and mouse across both machines.  Finally today I decided to set up the rules properly to do it, so here's how:\n\nCreate a new rule file in the iptables chain directory for incoming rules:\n\n    \n    sudo vi /etc/iptables.d/filter/INPUT/53-custom-synergys.rule\n\nwith the following lines in it:\n\n    \n    Allows incoming flows for Synergy.\n    -A INPUT -p tcp -m tcp --dport 24800 -j ACCEPT\n    -A INPUT -p udp -m udp --dport 24800 -j ACCEPT\n\nRestart iptables for the rules to take effect\n\n    \n    sudo /etc/init.d/iptables restart",
  "title": "Firewall rules for Synergy in iptables"
}