Jump to content

Stunnel configuration example using Telnet: Difference between revisions

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


'''Step 1: update and upgrade Ubuntu'''
'''* update and upgrade Ubuntu'''


Using these commands update your Ubuntu's package list and also upgrade the existing packages to the latest version:
Using these commands update your Ubuntu's package list and also upgrade the existing packages to the latest version:
Line 117: Line 117:
*apt-get upgrade
*apt-get upgrade


'''Step 2: Install Stunnel'''
'''* Install Stunnel'''


Install Stunnel package using the code below:
Install Stunnel package using the code below:
* apt-get install stunnel4 -y
* apt-get install stunnel4 -y


'''Step 3: Configure Stunnel'''
'''* Configure Stunnel'''


Stunnel configures itself using a file named '''stunnel.conf''' which by default is located in '''/etc/stunnel'''.
Stunnel configures itself using a file named '''stunnel.conf''' which by default is located in '''/etc/stunnel'''.
Line 139: Line 139:
[[File:Networking Rut955 manual stunnel config ubuntu v1.bmp|border]]
[[File:Networking Rut955 manual stunnel config ubuntu v1.bmp|border]]


'''Step 4: Create certificates'''
'''* Create certificates'''


Stunnel uses SSL certificate to secure its connections, which you can easily create using the commands:
Stunnel uses SSL certificate to secure its connections, which you can easily create using the commands:
Line 157: Line 157:
[[File:Networking Rut955 manual stunnel certificates ubuntu v1.bmp|border]]
[[File:Networking Rut955 manual stunnel certificates ubuntu v1.bmp|border]]


'''Step 5: Restart stunnel'''  
'''Restart stunnel'''  


restart the stunnel configuration using the command:
restart the stunnel configuration using the command:
277

edits