Jump to content

Stunnel configuration example using Telnet: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 105: Line 105:
Similarly, for Linux machines follow the below commands.
Similarly, for Linux machines follow the below commands.


'''Step 1: update and upgrade Ubuntu'''
Using these commands update your Ubuntu's package list and also upgrade the existing packages to the latest version:
* apt-get update
*apt-get upgrade
'''Step 2: Install Stunnel'''
Install Stunnel package using the code below:
* apt-get install stunnel4 -y
'''Step 3: Configure Stunnel'''
Stunnel configures itself using a file named '''stunnel.conf''' which by default is located in '''/etc/stunnel'''.
Create a '''stunnel.conf''' file in the /etc/stunnel directory.
* nano /etc/stunnel.stunnel.conf
Next, specify a service for use with stunnel. Here, it will work as client so file should look like this:
* client = yes
  [squid]
  accept = 127.0.0.1:23
  connect = 84.15.X.X:2030
  cert = /etc/stunnel/stunnel.pem
(image)


==Testing Results==
==Testing Results==
277

edits