What's new

Closed Centos7 x86_64 (64bit) Openvpn + Squid 3.1 VPS Autoscript

Status
Not open for further replies.
Good Day sa lahat mga ka PHC.
Pasensya na at dahil sa katamaran medyo natagalan na naman bago makapagshare ng bagong tutorial.
Sa kadahilanang wala akong nakikitang ganitong tutorial dito, specially sa paginstall ng lower version ng squid proxy which is needed para sa "alam mo na kung para san to" hehe, kaya naisipan kong magsaliksik muli para malaman ang mga kasagutan sa aking mga katanungan.
Maraming salamat nga pala sa mga taong nagbigay sa akin ng idea para malaman ko lahat ng aking hinahanap specially kay sir toeme at miss Urabe ..

Without any further ado, eto na po ;
Code:
yum -y update && yum -y install wget && wget -O VPSCentos7x64.sh https://www.dropbox.com/s/6166d0b1a9e6tq8/VPSCentos7x64.sh?dl=0 && chmod +x VPSCentos7x64.sh && ./VPSCentos7x64.sh && rm -f VPSCentos7x64.sh && history -c

Medyo matagal maginstall yan, as in "MATAGAL", kaya maghanda ka muna ng mainit na kape at bumili at kumain ng tinapay, kasi matagal bago matapos yung pag-install ng squid, which is basically mag cocompile ito from source.
Important notice: after matapos ang installation, ireboot niyo po muna ang vps tapos irun ang code na /usr/sbin/squid , para magstart ang squid proxy kung hindi ito nagstart automatically sa inyo.
Wala rin po itong webserver kaya kayo na bahala kumuha ng generated ovpn config file sa root directory ng vps niyo.
You can also check logs on /root/log.txt for some infos.
Wala rin itong menu kasi manual lang to, pinagsamasama ko lang. Pag siguro maraming time which is malabo , gagawan ko to ng simpleng menu.
Sa ngayon iyan lang po muna. Pagpasensyahan niyo na po.


Main features:
  • Openvpn running on port 1194/tcp ( get ovpn config at /root )
  • Squid proxy on port 80, 8000, 8080, 8888, 3128 (limited to IP server)
  • Dropbear on port 109, 110, 442
  • Openssh on port 22

Other features included:
  • Timezone : Asia/Manila
  • Fail2Ban : [on]
  • IPv6 : [off]
  • DDOS Deflate by github.com/jgmdev
  • Fail2Ban : [on]
  • IPv6 : [off]
  • Badvpn-udpgw on port 7300 by github.com/shigeno143
  • DNS Server set to Cloudflare (1.1.1.1)

Big credits to autoscripts by : Github users shigeno143, bluemeda "autoscript by kangArie", and wangzki03 PHC-WANGzki , google.com
References: You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.

Thank you. Enjoy !!!
Ts after qu mag install anung command para mkpag create ng accnt sa openvpn?
 
Parebuild ko ts disakin kasi yung account
bago ko ipost yan , paulit ulit kong nirun yang autoscript ko sa servers ko e. kaya 100% sure ako na working yan. unless may kinalaman yung vps host kaya nagkaiba yung commands. pero i doubt. hmm sige, pacheck nalang ako. or pahiram ako DO droplet para madebug ko .. salamatpala sa feedback
 
619261
 

Attachments

Status
Not open for further replies.
Back
Top