🛡️ 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
551
Guests online
3,915
Total visitors
4,466

Forum statistics

Threads
2,295,379
Posts
29,097,533
Members
1,206,839
Latest member
rein8627616
Back
Top