Knowledgebase

Installing Stunnel and using Obfuscation in CentOS/RHEL

Have OpenVPN installed and setup first!

 

 

Step 1.

Install Stunnel with 'yum install stunnel'

 

Step 2.

Edit/replace the configuration with the following details:

 

File: /etc/stunnel/stunnel.conf

 

Content:

 

output = /etc/stunnel/stunnel.log

[openvpn-localhost]

client = yes

accept = 127.0.0.1:9876

connect = XXX.XXX.XXX.XXX:9876

 

Step 3.

Replace X's in the last line with the IP address or Host/Domain name you'd like to connect to. These can be found in the .ovpn files, or the full location/IP list on our site.

I.E 5.252.177.36 or bend1.metahumanvpn.network for Bend, Oregon, etc.

 

 

Step 4.

Start Stunnel by running the command 'stunnel'.

 

 

Step 5.

Connect with OpenVPN using your preferred *Stunnel.ovpn profile. Enter credentials when prompted.

**EXAMPLE FOR SEATTLE CONNECTION(with profiles in home)**

'openvpn --config ~/MHVPN-SEATTLE-Stunnel.ovpn --auth-user-pass'

 

 

CONGRATS! YOUR INTERNET TRAFFIC IS NOW SAFE FROM DEEP PACKET INSPECTION!

 

 

Using a different server:

 

You'll need to stop Stunnel by running the command 'sudo pkill stunnel', then repeat the steps above.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Connecting to WireGuard with a CentOS/RHEL Client

Step 1. Sign in to the Metahuman VPN Client Portal (If you are already logged in and know how...

Connecting to OpenVPN with a CentOS/RHEL Client

Step 1. Install OpenVPN and download OVPN file or full bundle   FULL BUNDLE: <code>cd ~...

Powered by WHMCompleteSolution