b0rman Posted June 25, 2014 Report Share Posted June 25, 2014 Hi! I have scenario with 2 servers.Server 1 is in LAN and behind firewall (NAT).Server 2 is in another country, it's WAN, no firewall (for now).Server 2 have OpenVPN connection to Server 1 LAN.I need to sync servers via external IPs and I don't want to use OpenVPN tunnel for P2P. So:I mapped Server 1 port on firewall and added IP:port of Server 2 to Server 1 sync folder hosts and external_IP:mapped_port of Server 1 to Server 2 sync folder hosts. All other checkboxes I turned off. The problem is:Sync is slow in such way - I have to wait for 7 minutes or something (force_rescan is 120s). When I turn on relay and tracker on both servers everything became faster - may be 1 minute, but there is a traffic in VPN tunnel. So what ports should I map to sync fast in this scenario with external IP and avoid using OpenVPN tunnel? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 26, 2014 Report Share Posted June 26, 2014 @b0rmanAccording to your description - you mapped ports and configured predefined hosts correctly. Only one thing I could think of is checking your route tables to make sure that traffic to designated ip goes to correct interface. Also, can you please elaborate - what do you mean under "slow"? Is there some latency while traffic starts to glow or the bandwidth itself? Quote Link to comment Share on other sites More sharing options...
b0rman Posted June 26, 2014 Author Report Share Posted June 26, 2014 Hi! Slow I mean "with really big delay" Actually if I'll update routes, then OpenVPN tunnel will not work not even for btsync but for database replication also - tha's not good. Is it possible to force btsync to use only hosts that I set in webui? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 26, 2014 Report Share Posted June 26, 2014 @b0rman Actually BTSync is only using hosts in predefined hosts list if you disable tracker, dht and lan discovery. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.