Sun

stunnel usage for tunneling VPN connection

With stunnel program, using together with our VPN services, you can establish VPN connection through custom ports. This allows to bypass the internet censorship of various countries, that restricts the VPN usage with default configurations over default ports. This guide will show stunnel configuration using Windows and Linux OS together with using OpenVPN client and our VPN service.

Currently, stunnel can only be used through our Singapore #4 (sg4.asia.vpn.hostens.cloud) server.

Installation:

1. Download and install the stunnel program from official page: https://www.stunnel.org/downloads.html
2. Download the required configuration files from our client area: https://billing.hostens.com/root&action=download&type=downloads&id=260
3. Upload the “stunnel.conf” configuration file and “stunnel.pem” SSL key file to the installation directory (replaces old files). Default installation directory should be: C://Program Files/stunnel/config/
4. Install OpenVPN client.
5. Upload the “vpn_obfuscated.ovpn” configuration file to OpenVPN installation directory, /config/ subdirectory. By default it should be C://Program Files/OpenVPN/config/
6. Start the stunnel program from your desktop.
7. Start OpenVPN client, which will make connection through our VPN server.

The log-in details remain the default ones that you use for regular connections. These details can be found provided in your client area VPN service details.

Custom configuration:

Current configuration files are set to be using 996 port. You can adjust configuration on any other free port of your device. To use different port instead of 996, adjust “remote” line in “vpn_obfuscated.ovpn” file and “accept” line on “stunnel.conf” file.

For Linux Users:

Configuration steps should be identical. The differences are in steps 3 and 5, stunnel installation directory should be /etc/stunnel/ and for OpenVPN configuration, /etc/openvpn/

 

Was this article helpful?

Related Articles