🛡️ 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

Trending Topics

Online now

Members online
1,032
Guests online
1,458
Total visitors
2,490

Forum statistics

Threads
2,274,229
Posts
28,954,464
Members
1,234,154
Latest member
Pretty_Flower
Back
Top