How to connect to the service provider via VPN using SMPP - Built-in VPN Client of Windows (L2TP IPSec VPN)

The example guide below demonstrates how you can create an SMPP connection in Ozeki NG SMS Gateway to connect to the service provider via VPN. In this case the VPN connection will be ensured via the built-in VPN client of Windows. Watch the video tutorial and follow the configuration steps!

VPN refers to Virtual Private Network. VPN enables you to connect to the remote computers of a remote network via encrypted channel over the Internet. Since it uses encrypted channel, VPN connection ensures safety.

If you connect to the remote computers of a remote network you can use your PC as if it would be the part of the remote network.

There are various ways to be connected to a remote network via VPN. In this example, you will find a guide about using the built-in VPN client of Windows.

The built-in VPN client of Windows can communicate via L2TP (Level 2 Tunneling Protocol) using IPSec based encryption and PSK (Pre Shared Key).

To be able to connect this client to the remote computer, the remote computer also needs to meet the following requirements:

The remote computer also:

  • needs to use L2TP protocol
  • needs to run a VPN server that supports IPSec based encryption
  • the pre shared key (PSK) also needs to be configured on the remote computer
This remote computer can be a computer that runs Windows Server. In this example it is demonstrated how to create an SMPP connection in Ozeki NG SMS Gateway software to connect to the service provider via VPN connection in case the service provider ensures VPN connection via L2TP protocol using IPSec based encryption.

Configuration guide

It is assumed that you have already received all data from your service provider. You will need the following parameters:

  • username and password for VPN connection
  • Pre Shared key (PSK)
  • IP address, port number, username and password for SMPP connection
Ozeki NG SMS Gateway also needs to be setup on your PC.

Step 1 - Create VPN connection

Start Start/Control panel/Network Connections/New Connection Wizard menu item (Figure 1).

start a new connection wizard
Figure 1 - Start New Connection Wizard

On the appeared welcome panel click on Next (Figure 2).

the welcome panel
Figure 2 - Welcome panel

On Network Connection Type window select Connect to the network at my workplace option and click on Next (Figure 3).

network connection type window
Figure 3 - Network Connection Type window

On Network connection window select Virtual Private Network connection option and click on Next (Figure 4).

select the virtual private network connection
Figure 4 - Select Virtual Private Network connection

On Connection Name window provide an optional name for the created connection at Company Name field and click on Next (Figure 5).

specify a name for the connection
Figure 5 - Specify a name for the connection

On VPN Server Selection window specify the IP address or host name of the VPN server and click on Next (Figure 6).

ip address of the vpn server
Figure 6 - IP address of the VPN server

On Connection Availability window you can leave the options default and click on Next (Figure 7).

connection availability
Figure 7 - Connection availability

Finally click on Finish to save changes (Figure 8).

save the changes
Figure 8 - Save changes

On the appeared window click on Properties (Figure 9). (You can also reach this window from Start/Control panel/Netwok connections/Connection name).

porperties menu
Figure 9 - Select Properties menu

On the Properties window click on Networking tab. In the drop down Type of VPN menu select L2TP IPSec VPN (Figure 10).

select the type of vpn
Figure 10 - Select the type of VPN

Then click on Security tab. Here click on IPSec Settings... button (Figure 11).

ipsec settings
Figure 11 - IPSec settings

In IPSec Settings window you need to enter the Pre Shared Key (PSK) you have received from your service provider into Key field (Figure 12). Click on OK.

enter your pre shared key
Figure 12 - Enter the Pre Shared Key

Click on OK again to save settings (Figure 13).

save the settings
Figure 13 - Save settings

Now enter the Username and Password you have received from your service provider for creating VPN connection (Figure 14). Then click on Connect.

connect button
Figure 14 - Connect

If the connection is successful, an icon appears on the notification area of the tray and a message demonstrates that you are connected (Figure 15).

the connection is succesfull
Figure 15 - Connection is successful

If you click on the message demonstrating that you are connected, you can see the status of the VPN connection (Figure 16).

the status of your vpn connection
Figure 16 - Status of VPN connection

Create an SMPP connection in Ozeki NG

Start Ozeki NG SMS Gateway software and login. Click on Add service provider option (Figure 17).

adding a service provider
Figure 17 - Add service provider

Select SMPP connection from the list and click on Install next to it (Figure

install an smpp connection
Figure 18 - Install SMPP connection

You can set the created SMPP connection on the configuration panel. On SMPP settings tab you need to specify the SMPP server parameters (Figure 19). The required information has been provided by your service provider when you subscribed to the service:

Host: the IP address of the SMPP server of the service provider
Port: port number
Username: the username you received from the service provider to use its service
Password: the password you received from the service provider to use its service

To save settings, click on OK.

smpp settings tab
Figure 19 - SMPP settings tab

In Events menu of the created SMPP connection you can check the connection. If it has been successful it shows: Connection online (Figure 20).

status of the connection
Figure 20 - Connection online status

Test

If the configuration is completed, a test message can be sent to test the connection. For sending a test message, click on Compose (Figure 21).

open composing a message tab
Figure 21 - Test message

Specify the message type, the recipient, compose the body of the message and click on OK (Figure 22).

compose a test message
Figure 22 - Compose test message

Then the message is accepted for delivery. You can see on Figure 23 that the message has been successfully sent through SMPP connection and a delivery report is also returned.

the message is succesfully sent via smpp
Message successfully sent via SMPP

In Ozeki NG SMS Gateway you can see the sent test message in Sent folder (Figure 24).

the message is succesfully sent via Ozeki ng sms gateway
Figure 24 - Sent message in Ozeki NG SMS Gateway



If you have any question or you need assistance please contact us at: info@ozekisms.com

Dig deeper!
People who read this also read...


SMPP connection configuration
Quick start guide

More information