Advertisement
paperline27

Http Forwarding Localhost ke Internet

Dec 22nd, 2023 (edited)
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | Source Code | 0 0
  1.  
  2. tested=termux,
  3. saya yakin hampir bisa di semua OS
  4.  
  5.  
  6. [update dulu]
  7. #apt update -y
  8. [upgrade sekalian]
  9. #apt upgrade -y
  10. [install busybox ringan dan serba guna]
  11. #pkg install busybox -y
  12. [install openssh penting nih buat online di publik]
  13. #pkg install openssh -y
  14. [bikin folder]
  15. #mkdir web
  16. [masuk ke folder]
  17. #cd web
  18. [bikin file, ctrl+s lalu ctrl+x perintah text editor nano]
  19. #nano index.html
  20. [jalankan server & port bebas, selagi blom dipake]
  21. #busybox httpd -p 8989
  22. [cek status aktif]
  23. #ps -ef | grep httpd
  24. [buka di firefox]
  25. #https://localhost:8989
  26. [onlinekan dengan serveo]
  27. #ssh -R 80:localhost:8989 serveo.net
  28. [buka url subdomain yg dikasih serveo]
  29. #contoh>. https://2030.serveo.net
  30. [close service serveo]
  31. #ctrl+c
  32. [close service busybox httpd]
  33. #kill 21876 ,,misalnya,, nomor berbeda-beda,, cek perintah ini,, ps -ef | grep httpd
  34.  
  35. Powered by n00bX8
  36.  
  37.  
  38.  
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement