OverviewAdministrators my wish to lock down the MyWorkDrive Server client site to be accessible from only restricted networks or not publish the site and allow access from internal LAN segments only.  This would typically be used where the administrator wishes to provide access to the Web File Manager site for view and editing documents in Office 365 but restrict external access.   This is possible and MyWorkDrive will function and allow Office online document editing even if restricted to company WAN IP’s or LAN segments only with the following caveats:

  •  OneDrive external file sharing will not function ( a publicly accessible Web File Manager URL is needed for Microsoft to copy files to OneDrive) unless the server can access https://*.live.com and  https://wp-onedrive-api.wanpath.net for OneDrive external sharing.
  • An internal host name must be used to reference the site for internal file sharing – for example: https://share.mycompany.local if referenced on the internal LAN only.
  • Office 365 Editing must be enabled on the MyWorkDrive Server Admin Panel.

Please note Office online editing will function even if the Web File Manager client site is locked down since it is made available during Office online editing transactions on a session basis through our MyWorkDrive reverse proxy in Azure locked down to Microsoft Office online hosts only.   Full details are in this article.

Outgoing firewall requirements

To function correctly the MyWorkDrive Server needs outgoing access to the following hosts and TCP ports:

MyWorkDrive license servers at my.nalpeiron.com & my.wanpath.net on ports 80 & 443

Port 443  to *.live.com, *.myworkdrive.net and  *.wanpath.net for OneDrive external sharing along with Office 365 URL’s and IP address ranges per Microsoft article here.

MyWorkDrive Relays ( for *.myworkdrive.net and Office 365 Editing relays) TCP ports 443, 9350 through 9354, 5671 & 5672 to all hosts.

Also, we do not recommend locking down your firewall to individual IP addresses, since these may change over time to maintain our service’s high availability.

MyWorkDrive requires a direct internet connection – outgoing proxy services (typically web filtering) will break Office 365 online editing features and MyWorkDrive.net usage.

Antivirus

Warning: Antivirus software installed on the server can interfere with the ability for your MyWorkDrive to communicate with Microsoft Azure for our Office 365 and Cloud Connectors if any firewall features are enabled.

Troubleshooting Office 365 and Cloud Connector firewall issues

Begin by ensure the Office 365 Editing feature and/or the cloud connectors are enabled on the MWD Server admin panel under settings.  If enabled, check services.msc on your server for “MyWorkDrive Portbridge Service” .  It should be running.  If the service is running and has been for at least 1 hour to replicate across our global relays, next test outbound firewall access.

From a command prompt, type “Netstat -b”.  Note any connection for portbridge.   A healthy service should show something like below with https, 5671 and 9350 series ports open and in and “ESTABLISHED” state.  If these are missing, check our outgoing firewall rules, remove any Antivirus software from the MWD server and ensure your MWD server has full internet connectivity. Then run netstat -b again to see if outbound connections are established.

Netstat -b healthy outbound connections:

TCP 10.10.101.6:60469 104.40.69.64:5671

[PortBridge.exe]

TCP 10.10.101.6:60475 13.64.64.98:9352

[PortBridge.exe]

TCP 10.10.101.6:60488 13.64.64.209:9352

[PortBridge.exe]

TCP 10.10.101.6:60515 13.64.66.225:9352

[PortBridge.exe]

TCP 10.10.101.6:60535 13.64.68.204:9352

[PortBridge.exe]

TCP 10.10.101.6:60538 52.160.91.148:9352