🛡️ VPN Stunnel or ssl-ssh installation

Status
Not open for further replies.

jeromelaliag

Forum Guru
# apt-get update
# apt-get stunnel4 dropbear

Edit /etc/default/dropbear
Change NO_START=1 to NO_START=0
Change DROPBEAR_PORT=22 to DROPBEAR_PORT=444

Edit /etc/stunnel/stunnel.conf
Copy and paste this

cert = /etc/stunnel/stunnel.pem
client = no
socket = a:SO_REUSEADDR=1
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

[dropbear]
connect = 127.0.0.1:444
accept = 443

# openssl genrsa -out key.pem 2048
# openssl req -new -x509 -key key.pem -out cert.pem -days 1095
# cat key.pem cert.pem >> /etc/stunnel/stunnel.pem

Edit /etc/default/stunnel4
Change ENABLED=0 to ENABLED=1

# service stunnel4 start

Yung # sa una means command na ieexecute.
 
pwede po ba magtanong boss?
paturo sana ako sa mga command na genamit mo sa termux at sa juicessh noong pinagana mo ung openvpn gamit yang dalawang app gusto ko kasi matutu boss
 
Status
Not open for further replies.

About this Thread

  • 15
    Replies
  • 2K
    Views
  • 13
    Participants
Last reply from:
Damion2018

Online now

Members online
1,217
Guests online
1,647
Total visitors
2,864

Forum statistics

Threads
2,316,067
Posts
29,185,276
Members
1,182,805
Latest member
Jhondokwan
Back
Top