trouble with rotuer


Recommended Posts

@rdebath

Thanks I will try your idea out. What do you mean by "... they'll bounce the file off you"

If they cannot talk to each other, but both of them can talk to you all the files in the share will be sync'd. BUT all the data will have to be passed through your peer.

Hi,

With the example of this post (BTSync port = 20001 and peer port = 20002), what is the firewall configuration if I want to use BTSync with known peers and direct connections only?

20001 to 20002 and 20002 to 20001 only?

If both peers know each other and both firewalls are well behaved only outbound connections have to be opened on both firewalls. The 'inbound' half will be covered by the "NAT punching". If it's not possible for both peers to be completely predictable then at least one of them must be able to accept an incoming connection on it's port.

And yes, the only connection needed is UDP hosta:20001 <-> hostb:20002.

Link to comment
Share on other sites

An update: Am pleased to say that test with a triad of 3 PCs - mine / my son (within WLAN) / his friend (outside our Wlan) worked perfectly - immediately and quickly. My son generated a secret - which I and his friend entered to sync our respective folders - No other information other than the secret was required. Noone needed to enter my son's IP address. Firewalls and Port handling was transparent.

Thanks for the help. I am (indeed we are) impressed with Bit Torrent Sync.

Link to comment
Share on other sites

My apologies, I've been trying to figure this out for a few days. And with a fledgling technology its probably best to answer as many questions as possible to help get it off the ground

That's true with production ready software, as per the application development life cycle, however, until this application is out of beta, helping you fix an issue that is already well documented is kind of pointless; hence yottabit's reaction to your initial post. Not to mention he wasn't exactly incorrect; when working with software like this, which is attracting a developer culture, you're asking people who are pretty advanced with networking and computational trifles to basically complete a simple forum search for you by opening a new thread.

An update: Am pleased to say that test with a triad of 3 PCs - mine / my son (within WLAN) / his friend (outside our Wlan) worked perfectly - immediately and quickly. My son generated a secret - which I and his friend entered to sync our respective folders - No other information other than the secret was required. Noone needed to enter my son's IP address. Firewalls and Port handling was transparent.

Thanks for the help. I am (indeed we are) impressed with Bit Torrent Sync.

Glad everything worked out for you.

Link to comment
Share on other sites

  • 7 months later...

Forgive me for adding to this for the less technical people.  I had this problem and struggled for a while, and while I am a software developer, I found the networking instructions confusing.  Here's what it took to solve it for me...

 

I was using a D-LINK DIR-645 home router - which is one of the more sophisticated and programmable home routers.  The problem was indeed that the Router internal firewall was blocking the communications.

 

But clearing the block did not require manually opening firewall ports, rather I had to adjust the default firewall security level.

 

To do this: This is ADVANCED settings on the router, and FIREWALL settings.  The default setting for NAT ENDPOINT FILTERING - UDP ENDPOINT FILTERING is "Port and Address Restricted", which the help describes as 'The NAT does not forward any incoming connection requests with the same port address as an already establish connection.'  But, as described at the beginning of this thread, this forwarding is required for the Sync to make the connection.  So changing to just "Address Restricted", which is described as 'The NAT forwards incoming connection requests to a LAN-side host only when they come from the same IP address with which a connection was established. This allows the remote application to send data back through a port different from the one used when the outgoing session was created.' seemed to be appropriate, and indeed it worked.

 

Summary - changing ADVANCED - FIREWALL SETTINGS from UDP - Endpoint Filtering of Port and Address Restricted to just Address Restricted allowed BitTorrent Sync to work for connections from outside my home network into my home network.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.