nulis lagi nih, Cara Install Proxy , Squid Proxy, di VPS semoga bermanfaat buat semua yang membutuhkan yah... sebenernya tutorial ini untuk konsumsi pribadi, tapi ane takut lupa dan sekalian mo share aja buat yang belom ngerti.
buat yang udah ngerti mohon saran dan tambahan ilmu dari om .
Semoga tutor install squid proxy di centos ini berguna, banyak banget tutorial nya di google tapi mungkin anda lebih mudah mengikuti tutor saya kali ini.
nih screen shoot nya gan :
nah mari kita lanjutkan.
Bahan :
- Dedicated / VPS Server (linux) Pastikan pakai Centos 5 ya
- Putty
- WinsCP
Tahap :
1. Update dulu
yum update2. Install squid
yum install squid3. Selesai install squid download software FTP Client (Winscp) saya pakai itu karena menurut saya mudah dan Simple
Konekan langsung ke FTP lewat winscp dan login, pastikan pakai Port 22
4. Masuk ke winscp sekarang klik dictory sebelum /root
5. Lalu banyak pilihan dictory masuk ke /etc
6. Sekarang terakhir masuk - masuk dictory kita masuk dictory /squid
7. Lanjut setelah kita selesai masuk ke dictory /etc/squid/ kita cari squid.conf , klik kanan Edit
8. Tahap edit - edit.
CTRL + F (Find) :
1. http_port 3128 = 3128 ganti nanti port squid andaTekan CTRL + S atau File -> Save
2. #via on = ganti jadi via off, fungsi akan menampilkan data header _SERVER['HTTP_VIA']. Jadi orang lain bisa melihat server dan proxy anda.
3. http_access deny all = ganti jadi http_access allow (Ga perlu ane jelasin)
9. Selesai kita Start (Jalankan squid)
/etc/init.d/squid start10. Tidak bisa di start? error bla bla bla ?
/etc/init.d/squid restart11. masih error ? paste error nya insaallah saya bantu.
Kalau ada yang di tanyakan replay saja.
Guna squid sendiri itu untuk Proxy, sebut saja Elite Proxy yang suka di jual orang.
Terimakasih
Kutipan
============
Cara adduser :
Ketikan command : htpasswd /etc/squid/squid_passwd USER
Note : USER = Nama usernya
============
Cara Delete User :
Ketikan command : htpasswd -D /etc/squid/squid_passwd USER
Note = User = Nama Usernya
============
Lihat user sedang buka website apa :
Ketikan command : tail -f /var/log/squid/access.log
Note = Jangan keasikan ngintip
============
Untuk Proxifier kita menggunakan mode "https" dan tidak bisa konek caranya allow dulu https di
/etc/squid/squid.conf
nano /etc/squid/squid.conf
Cari :
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports.
Ganti menjadi :
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports.
==================================
Semoga Bermanfaat, jika kurang faham langsung aja komunikasi di forum
Sumber : Bugs4You
Judul : | Cara Install Proxy , Squid Proxy, di VPS |
Deskripsi : | assalamu'alaikum. nulis lagi nih, Cara Install Proxy , Squid Proxy, di VPS semoga bermanfaat buat semua yang membutuhkan yah... sebe... |
Ditulis Oleh : | ZULFIANTO |
Author Rating : |
4/
5 Suara
|
maaf, kalo squid proxy tu fungsinya buat apaan ya, maklum newbie.
ReplyDeletebuat internetan
Deletesama aja fungsi nya seperti proxy yang lain... mungkin ada sedikit perbedaan.. silahkan searching di google aja untuk perbedaan nya :)
Deleteterima kasih telah berkunjung.
gan @fian biasa apa bisa squid ditambah portnya???
Deletemungkin bisa... coba searching di google.
Deleteatau cek disini : http://bugs4u.info/forum/index.php?/topic/4241-install-squid-di-centos-versi-saya-bisa-login-di-proxifier/
saya cuma share aja gan :)
membingungkan, ada cara yg lebih jelas tidak?
ReplyDeleteikuti sesuai instruksi, kalau bingung belajar dan coba-coba lagi aja :-)
Deletegan, cara access squid nya dari proxyfier gmna?
ReplyDeletesettingan nnya di bagian proxy server>add>masukan IP+port >pilih socks 5
DeleteGan klo gx pke user step yg add user di skip ya???
ReplyDeletekok error ya gan saat di gunakan ERROR
ReplyDeleteThe requested URL could not be retrieved
While trying to retrieve the URL: http://google.co.id/
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is root.
coba dipastikan, sudah sesuai tahap nya dengan benar... soalnya selama ni ga ada masalah....saya juga nyoba aman+aman aja...
Deletekalau masih ada masalah, coba konsultasi sama yang nulis artikel aslinya.
bisa dibaca disini : http://adf.ly/6131086/http://bugs4u.info/forum/index.php?/topic/4241-install-squid-di-centos-versi-saya-bisa-login-di-proxifier/
gan udh berulang kali masih kaya gini Failed to start Squid :
ReplyDeleteinit_cache_dir /var/spool/squid... Starting squid: [FAILED]
kalau masih ada masalah, coba konsultasi sama yang nulis artikel aslinya.
Deletebisa dibaca disini : http://adf.ly/6131086/http://bugs4u.info/forum/index.php?/topic/4241-install-squid-di-centos-versi-saya-bisa-login-di-proxifier/ - See more at: http://www.fianstudio.com/2013/10/cara-install-proxy-squid-proxy-di-vps.html#sthash.mUgFepqt.dpuf
2. #via on = ganti jadi via off, fungsi akan menampilkan data header _SERVER['HTTP_VIA']. Jadi orang lain bisa melihat server dan proxy anda. - See more at: http://www.fianstudio.com/2013/10/cara-install-proxy-squid-proxy-di-vps.html#sthash.c4KGWYFe.dpuf
ReplyDeletesaya cek di squid form gk ada bang , bingung saya :S
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port 3128
# We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /var/spool/squid 100 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
mhn bantuan nya bng :S
Ane bingung gan tutorialnya bisa di update dan perbaiki hehe saya kurang paham (p)
ReplyDeletedibagian mana nya bingung ga :-)
Deleteane aja kalo mau reinstall Squid Proxy baca artikel ini lagi :-D
insya allah ga ada masalah kok, coba kalo boleh tau stuck dibagian mana yah..??
kita share aja gan disini :-)
I am constantly surprised by the amount of information accessible on this subject. What you presented was well researched and well written to get your stand on this over to all your readers. Thanks a lot my dear. VPS
ReplyDeleteIndividuals who need to set up their own hosting organization can exploit structure Cheap VPS Hosting too. This is known as Reseller VPS Hosting. https://onohosting.com/
ReplyDeleteInteresting blog I must say, the facts and information written here are accurate. black leather motorcycle jacket namecheap wordpress review
ReplyDeleteInformation accessible on this subject. What you presented was well researched and well written to get your stand on this over to all your readers. https://hostinglelo.in/
ReplyDeleteNow we know how dangerous it can be for us when malicious hackers try to get into our system and steal our files. browse around this website
ReplyDeleteGreat things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks Hostgator black friday
ReplyDelete