Stunnel configuration example using Telnet: Difference between revisions
Stunnel configuration example using Telnet (view source)
Revision as of 01:50, 21 December 2022
, 21 December 2022no 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. | ||
''' | '''* 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 | ||
''' | '''* 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 | ||
''' | '''* 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]] | ||
''' | '''* 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]] | ||
''' | '''* Restart stunnel''' | ||
restart the stunnel configuration using the command: | restart the stunnel configuration using the command: |