Access local SB2BI & SFG VM Ware externally

Now when more and more cloud services are emerging, there is sometimes a need for accessing local back-end solutions remotely. In my case I have several solutions running on local VMWares on my MacBook. Those VMWares don’t have a public IP (nor have my host machine) and is thus not very easy to access from outside. Normally this is not any issue, but when cloud-only services are introduced, this has to be solved.

In my case I have locally installed Sterling B2B Integrator and Sterling File Gateway, and would like to utilize our Partner Engagement Manager, which is Cloud only. So a need for exposing my local SFG environment arises.

The way I will try to solve this is by using IBM Bluemix, and more especially the IBM Secure Gateway Service offered through Bluemix.

In this example I will create access to the GUI of SB2BI and SFG. This is mostly because it is simple to test since there are only two alternative outcomes. Either the GUI shows or not.


Access to IBM Bluemix is off course needed. It is possible to sign up for a 30-day trial for free. I also will need to install a Client on my VMWare server where I am hosting my Sterling environment. I chose to use a Docker Client, and thus need to have Docker installed on my VMWare server.

Install Docker

I need Docker installed on my VMWare server to be able to install the Secure Gateway Client. I run RedHat Enterprise Linux 7. Docker is not in my default Yum Repositories, so I need to add the repository first. Then I use Yum to install Docker.

Skjermbilde 2016-03-17 kl. 13.04.48

When Docker is installed it needs to be enabled and started.

Skjermbilde 2016-03-17 kl. 13.27.42

Setup of IBM Secure Gateway

When in Bluemix, search for Secure Gateway. And create a new instance of it.

Select Secure Gateway.


Give your instance a name and Connect It.

Give it a name.

I select to use the Docker version of the Client. I then get a pre-made Command Line I can just copy and paste in my shell for the local Sterling VMWare server.

Copy the Command Line, and past it in the shell of your local server.

I past the Command Line in my Shell on my local VMWare server and it installs the Secure Gateway Client. When it is installed, press enter to get to the command line.

Install the Secure Gateway Client.

Skjermbilde 2016-03-17 kl. 13.33.50

In the Secure Gateway Client there is an Access Control List that tells what connections is allowed and not. By default this list is empty, so no connections are allowed. So I have to add my local server IP address and port number to the ACL. This is done by running a simple allow command.

Allow connections to the local Sterling VMWare server.

The last step is to add a Destination in Bluemix to my VMWare server. So click on Add Destination.

Add the desteination to the local Sterling VMWare server.

Then click “I’m Done”. You will then see the destination, and by clicking on the “i” for Information you will see the Cloud Host which is the remotely available address to my local Sterling VMWare Server.

Skjermbilde 2016-03-17 kl. 13.44.19



I copy the Cloud Host : Port into a browser and get to the SB2BI Login page.



0 comments on “Access local SB2BI & SFG VM Ware externallyAdd yours →

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: