Access BTSync for Windows (Service) WebUI on LAN


bzowk

Recommended Posts

Hey Guys - 

I've got a basic question to ask, please.  I subscribe to BTSync Pro and recently reinstalled the OS (Windows 10 x64) on one of my PCs.  When installing BTSync, I saw that I had the option to install it as a service so did so.  I set the credentials and am able to access the WebUI via http://localhost:8888.  When trying to access the same WebUI from other systems on my LAN (http://newpchostname:8888), it does not work.  I looked all through the preferences, advanced preferences, and searched online to find out how (if possible) to enable LAN system access, but so far haven't had luck.

So - is there a way to make BTSync for Windows installed as a service accessable from other LAN PCs?

My current guess is that the binding would have to be changed, but am not 100% of the format it needs to be in for Windows.  The PC it's installed on is pretty basic and just has a single ethernet NIC, bluletooth, and WiFI as adapters.

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...
On 2/14/2016 at 1:09 PM, Moe said:

You have to run the service with a configuration file.

See this help article: http://help.getsync.com/hc/en-us/articles/204762689-Running-Sync-in-configuration-mode

Moe, 

 

Do you have the exact command that I need in order to run the btsync.exe service executable with a config?

Trying the btsync.exe service executable by itself from the command line does nothing.  When I double click on the executable, I get a prompt to open the services screen or open the web ui, but the only way I have been able to get BTSync to run is through the services screen.  I notice the path run in the service properties is: `"C:\ProgramData\BitTorrent Sync Service\BTSync.exe" /SVC`, but running this from the command line accomplishes nothing. 

Adding the "/config btsync.conf" section to the service binPath also did not work.  

Thanks

Link to comment
Share on other sites

Yikes! When you drop the configuration file into the appdata dir where the btsync.exe is it should pick it up automatically. Also there have been a couple requests like this on the forum, if you search for windows service you will probably get a couple answers on how to do that.

Link to comment
Share on other sites

Thanks - 

I actually just found a way that was not only easier for me, but added a couple of additional features.  I actually host a few other web services on the same PC and use an installation of Apache to provide reverse proxy for them.  Don't know why I didn't think of it sooner, but adding a few lines to my httpd.conf file was all it took to get access to my BTSync WebUI console from any PC without needing a conf file.  Below's some of the config used...

  • System: Windows 10 x64 Pro
  • BTSync 2.3.3 (296) Installed as a service / No conf file or any special settings
  • Apache 2.4.10 for Windows already configured for Reverse Proxy over HTTPS using custom 3rd party signed SSL cert

Below is the section added to end of already working httpd.conf file:

<Location /gui>
order allow,deny
allow from all
ProxyPass http://127.0.0.1:8888/gui
ProxyPassReverse http://127.0.0.1:8888/gui
</Location>

In browser on any PC (even WAN since I forward 443), just go to https://mydomain.com/gui, enter credentials, and I'm in!

I would like to use something than /gui, but due to BTSync's current config, seems options are limited unless I attempt to add more config to Apache.  Seems that isn't an option even using the conf file, either.

Instructions for how to get Apache for Windows set up for reverse proxy (a few different ways) are out there and should be easy to find.  If you hit a roadblock, let me know - Thanks!

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.