![]() Server FQDN or YOUR name) : Įmail Address : # cat stunnel.crt stunnel.key > stunnel.pem Organizational Unit Name (eg, section) :TechnicalĬommon Name (e.g. This can be done by creating a new file nf under /etc/stunnel/ directory: # vi /etc/stunnel/nfĪdd the following lines: pid = /var/run/stunnel.pid Now we have to configure stunnel to tunnel 443(https) to 22(ssh). The above lines says stunnel that where to look for the certificate file and where to accept and forward ssh connections. In our case, stunnel will accept the incoming traffic on port 443 and forward it back to port 22. START STUNNEL SERVER MAC INSTALLInstall stunnel with command: $ sudo apt-get install stunnel4 Then start stunnel service with command: # service stunnel4 start # Change to one to enable ppp restart scripts # Change to one to enable stunnel automatic startup To do that, edit file /etc/default/stunnel4: # vi /etc/default/stunnel4Ĭhange the line Enabled = 0 to 1. STUNNEL CREATING REMOTE DESKTOP CERTIFICATE INSTALL Then start stunnel service with command: $ sudo service stunnel4 start To do that, edit file /etc/default/stunnel4: $ sudo vi /etc/default/stunnel4 Copy the remote system stunnel.pem file to our local system and save it in the same location(i.e /etc/stunnel).Ĭreating a new file nf under /etc/stunnel/ directory: $ sudo vi /etc/stunnel/nf We need the same certificate file(stunnel.pem) from the remote system. STUNNEL CREATING REMOTE DESKTOP CERTIFICATE INSTALL. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |