b0rman Posted November 24, 2014 Report Share Posted November 24, 2014 Hi! I have couple of PCs with BTSync in my LAN ("LAN-PCs") and one PC outside my LAN ("EXT-PC").I have 2 external IPs from different ISP (12Mbps + 50Mbps), BTSync ports for "LAN-PCs" mapped on firewall.EXT-PC connected to my LAN via OpenVPN connection (it's set to 1Mbps by QoS).I found that even when I set peers manually on EXT-PC as my external IPs it always choose LAN IPs that got from LAN peers. There is an information in LOG-file that 192.168.0.x chosen as best liks for p2p connection. Why? OpenVPN link is not the fastest and isn't the best for connection! Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 25, 2014 Report Share Posted November 25, 2014 @b0rmanIf Sync has access to multiple NICs, it always prefers "local" connection. It determines local IPs according to RFC1918. What are the IP ranges you use in LAN and for VPN? Quote Link to comment Share on other sites More sharing options...
b0rman Posted November 25, 2014 Author Report Share Posted November 25, 2014 I don't think it's good idea. May be it's better to make it switchable over config file (prefer LAN IPs)?My IP range is 192.168.x.x Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 26, 2014 Report Share Posted November 26, 2014 What about range used for VPN channel? BTW, you can try to disable tracker and LAN discovery and leave predefined hosts only. Quote Link to comment Share on other sites More sharing options...
b0rman Posted November 26, 2014 Author Report Share Posted November 26, 2014 Even if I disable LAN Search it will get LAN IPs from another PCs.My LAN IPs 192.168.0.xMy VPN IPs 192.168.3.x Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 27, 2014 Report Share Posted November 27, 2014 @b0rmanSync caches peers and remembers their local can global IPs. Try setting peer_expiration days to "0" advanced preference and restart your client - it should flush cache of peers. 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.