Junk Food for the Brain

Open Source and Awesomesauce :)

How to Enable Dropbox LAN Sync in Fedora 16

| Comments

For extra fast syncing among machines and devices connected within your local LAN network, this a feature you may have to enable. What is LAN Sync you ask?

LAN sync is a Dropbox feature that speeds syncing dramatically when the file exists on your Local Area Network (LAN).

With LAN syncing, Dropbox will look for the new file on your Local Area Network first, bypassing the need to download the file from Dropbox servers, thus speeding up the syncing process considerably.

Determine what port the DropBox service is listening on:

# netstat -ntupl | grep dropbox

You should get something like this:

[root@i7 ~]# netstat -ntupl | grep dropbox
tcp        0      0     *                   LISTEN      2201/dropbox
udp        0      0     *                               2201/dropbox

Dropbox LAN Sync listens on tcp/udp port 17500. We’ll need to open this port in iptables.

# iptables -I INPUT 3 --proto udp --dport 17500 -j ACCEPT
# iptables -I INPUT 3 --proto tcp --dport 17500 -j ACCEPT

This opens port 17500 for both the udp & tcp protocols. Based on /etc/services, these two stand for:

db-lsp          17500/tcp               # Dropbox LanSync Protocol
db-lsp-disc     17500/udp               # Dropbox LanSync Discovery

And at the end, don’t forget to save your rules by typing:

# iptables-save > /etc/sysconfig/iptables