Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #apt update -y
- #apt upgrade -y
- #apt install dropbear -y
- #apt install stunnel4 -y
- #apt install nano -y
- #nano /etc/default/dropbear
- >NO_START=0ย menjadiย NO_START=1
- >DROPBEAR_PORT=3128
- #/etc/init.d/dropbear start
- #nano /etc/stunnel/stunnel.conf
- >
- 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:3128
- accept = 443
- <
- #nano /etc/default/stunnel4
- >cukup tambahkanย ENABLED=1ย diawal baris
- #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
- #/etc/init.d/stunnel4 start
- #netstat -nlpt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement