Sync via multiple connections

I would like connect a single desktop user/client to a single OwnCloud instance through one of two URLs. One is a local network URL:Port and the second is via a VPN connection. The VPN connection is a URL:Port pair provided by the VPN provider which resolves to my server using DDNS.

The addresses look like:
local - http://local_ip:port1 (used when on the local network)
VPN - http://vpn_ddns_name:port2 (used when remotely connected via VPN)

My wish is to sync the same local and remote directories when connected by either route. Is this feasible with OC?

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Steps to reproduce

Server configuration

Operating system:

Web server:


PHP version:

ownCloud version:

Storage backend (external storage):

Client configuration

Client version:

Operating system:

OS language:

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:


Please use Gist ( or a similar code paster for longer

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):

I’d recommend to check dnsmasq to connect to different IP’s depending on the network you’re in, or depending on the interface that is used.