Connect to a VPN server in Windows and Android

Connect to a VPN server in Windows and Android

A VPN connection is still mostly regarded as “business solution”, only useful to connecting employees to the company network. But this is no longer true nowadays.

VPNs can be very useful in protecting the integrity and security of data transfers, no matter who the two communicating parties are (employee and company, two friends each with their own computer, the mobile laptop and the computer back home, a phone and a centralized application/service/data source, so on)

Considering you already have credentials for a VPN server (company’s server, paid service or one you’ve previously set up yourself) we can go on to setting up a connection and connect to this VPN server. Of course, a pre-existing internet connection on the device is a requirement.

Navigate to Control Panel » Network and Sharing Center.

Locate and click the Set up a new connection or network link.

pptp-vpn7a

Select Connect to a workplace and continue.

pptp-vpn7b

Select Use my internet connection (VPN) and continue.

pptp-vpn7c

Fill in the hostname or IP address of the VPN server and a name and continue.

pptp-vpn7d

Fill in the required username and password and click Connect. Windows will guess the VPN connection type and complete the connection.

pptp-vpn7e

Navigate to Control Panel » (Network and Internet Connections) » Network Connections.

Locate and click the Create a new connection link.

pptp-vpnxp1Click Next at the first step then select Connect to the network at my workplace and continue.

pptp-vpnxp2Select Virtual Private Network connection and continue.

pptp-vpnxp3

Fill in a name for the connection and continue. Then fill in the VPN server hostname or IP address and Finish.

pptp-vpnxp4b pptp-vpnxp5b

In the next window fill in the required username and password and click Connect. Windows will guess the VPN connection type and complete the connection.

pptp-vpnxp6
If the connection is successful, you’ll see its status in the tray area.

pptp-vpnxp7

Navigate to Settings > More… (in Wireless & Networks) » VPN

pptp-android1234

Press Add VPN profile, fill in a name, select the correct VPN type (PPTP/L2TP/IPSec) (A) and type in the required VPN server address (hostname or IP) (B).

The new connection will show up on the list. Touch it and fill in the pre-configured username and password.

pptp-android5678

Once connected, the device will display the connected state and the icon indicating a VPN connection in the notification area. You can press the connection name while connected to see traffic stats.

One comment

  1. Pingback: Setting up PPTP VPN server on a CentOS OpenVZ VPS | 康正的小窩

Leave a Reply