Menu

"Jasa Setting Proxy | Mikrotik Online"

Daftar Paket :

Mikrotik Load Balancing 2 Line + Routing Mark + Proxy Squid Lusca High Peforma Harga: Rp.800.000 PESAN / +6282376222119

Mikrotik Load Balancing 3-4 Line + Routing Mark + Proxy Squid Lusca High Peforma Harga: Rp.1.000.000 PESAN / +6282376222119

Mikrotik Load Balancing 5-7 Line + Routing Mark + Proxy Squid Lusca High Peforma Harga: Rp.1.250.000 PESAN / +6282376222119

NB: GARANSI PEMELIHARAAN 3 BULAN


Video Install Ubuntu Server 10.04 and use Manual Partition 




1. Paket Install yang di Butuhkan:
root@proxy:~# apt-get update
root@proxy:~# apt-get install squid -y
root@proxy:~# apt-get install squid squidclient squid-cgi -y
root@proxy:~# apt-get install gcc -y
root@proxy:~# apt-get install build-essential -y
root@proxy:~# apt-get install sharutils -y
root@proxy:~# apt-get install ccze -y
root@proxy:~# apt-get install libzip-dev -y
root@proxy:~# apt-get install automake1.9 -y

2. Download File LUSCA_LUSCA.tar.gz dengan cara sebagai berikut:

root@proxy:~# wget https://proxy-ku.googlecode.com/files/LUSCA_FMI.tar.gz
root@proxy:~# tar xzvf LUSCA_FMI.tar.gz
root@proxy:~# cd LUSCA_FMI

3. Perintah Install Compile File LUSCA_FMI

./configure --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --localstatedir=/var/spool/squid --datadir=/usr/share/squid --enable-http-gzip --enable-async-io=24 --with-aufs-threads=24 --with-pthreads --enable-storeio=aufs --enable-linux-netfilter --enable-arp-acl --enable-epoll --enable-removal-policies=heap --with-aio --with-dl --enable-snmp --enable-delay-pools --enable-htcp --enable-cache-digests --disable-unlinkd --enable-large-cache-files --with-large-files --enable-err-languages=English --enable-default-err-language=English --with-maxfd=65536 && make && make install

4. Setelah Compile File LUSCA_FMI Buatlah Direktori Cache:
root@proxy:~# mkdir cache-1
root@proxy:~# mkdir cache-2
5. Kemudian diberi lebel proxy:proxy dan di beri permision:
root@proxy:~# chown proxy:proxy /cache-1
root@proxy:~# chown proxy:proxy /cache-2
6. Kemudain di beri permision:
root@proxy:~# chmod 777 /cache-1
root@proxy:~# chmod 777 /cache-2

7. Setelah selesai anda Download File >>--> squid.conf
root@proxy:~# chown proxy:proxy /etc/squid/squid.conf
root@proxy:~# chmod 777 /etc/squid/squid.conf 

8. Kemudian Buat Listing File storeurl Sebelumnya Download File >>-->  storeurl.pl
root@proxy:~# touch /etc/squid/storeurl.pl
root@proxy:~# chown proxy:proxy /etc/squid/storeurl.pl
root@proxy:~# chmod 777 /etc/squid/storeurl.pl

9. Buka storeurl.pl dengan winscp dan isikan dengan Script storeurl.pl yang telah anda download

Kemudian pada menu Terminal pada software putty ketik " /etc/init.d/squid stop "
Masih pada menu Terminal pada software , copy-paste perintah di bawah satu-persatu

root@proxy:~# /etc/init.d/squid restart

10. Restart Komputer Kamu
Monitoring Squid access.log :

root@proxy:~# tail -f /var/log/squid/access.log | ccze



=========================
PAKET INSTALL TAMBAHAN
=========================

Kalau sudah selesai anda setting mikrotiknya seperti dibawah ini :
Masukkan ini di mangle :

;;; Intl-conn
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=packet-intl passthrough=no
/ip firewall mangle add chain=output action=mark-packet new-packet-mark=packet-intl passthrough=no

;;; PROXY-HIT
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=proxy-hit passthrough=no dscp=12

;;; http-conn
/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=http-conn passthrough=yes protocol=tcp dst-port=80
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=http passthrough=yes connection-mark=http-conn

;;; https-conn
/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=https-conn passthrough=yes connection-state=new protocol=tcp dst-port=443
/ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=https passthrough=no connection-mark=https-conn

;;; CHANGE MMS
/ip firewall mangle add chain=forward action=change-mss new-mss=1440 tcp-flags=syn protocol=tcp in-interface=public tcp-mss=1441-65535

IP FIREWALL ADDRESS-LIST :
;;; LocalNet
LocalNet     192.168.2.0/24     — IP local sesuaikan dengan IP lokal anda

;;; PROXY
ProxyNet     192.168.2.0/24 -- IP network Proxy
DNS             202.134.1.10     -- sesuaikan DNS ISP anda
DNS             202.134.0.155     -- sesuaikan DNS ISP anda
GAMES           63.241.101.0/25
GAMES           74.114.8.0/21

IP FIREWALL NAT :
;;; Nat Proxy
/ip firewall add chain=dstnat action=dst-nat to-addresses=192.168.2.20 to-ports=3128 protocol=tcp src-address=!192.168.2.20 src-address-list=LocalNet dst-address-list=!ProxyNet dst-port=80,8080,3128
connection-mark=http-conn

;;; Added by webbox
/ip firewall add chain=srcnat action=masquerade out-interface=ether1-gateway

;;; Proxy Out
/ip firewall add chain=srcnat action=src-nat to-addresses=IP INTERNET ANDA/IP PUBLIC misalnya 192.168.1.2 src-address=IP LOKAL ANDA misalnya 192.168.2.1
/ip firewall add chain=dstnat action=dst-nat to-ports=53 protocol=udp dst-port=53

;;; SSH
/ip firewall add chain=dstnat action=dst-nat to-addresses=192.168.1.2 to-ports=22 protocol=tcp dst-address=IP INTERNET ANDA/IP PUBLIC dst-port=22,10000

;;; queue tree
/queue tree add name="A_HIT-Proxy" parent=lan packet-mark=proxy-hit limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 \
burst-threshold=0 burst-time=0s

Selamat Mencoba Dan Semoga Berhasil :D 

29 komentar:

  1. keren pak, sangat membantu sekali
    tutorial yang sangat oke

    visit my blog : http://izinplbg.blogspot.com

    BalasHapus
  2. bagus tp sy bingung, seperti apa topology tutorial diatas.

    BalasHapus
  3. Mas @Isra Saikur topologinya: INTERNET - MIKROTIK - Proxy Lusca
    |
    JARINGAN LOCAL

    BalasHapus
  4. bisa gan tp ada yang di tambah untuk scriptnya :D

    BalasHapus
  5. mas bolehkah meminta saran ,.
    bagaimana mengatur / membuat partisi
    untuk cpu core i3, hardish 500GB dengan Memory RAM 2GB ...
    apakah perbedaan direktori cuman 1 maupun sampai direktorinya 3 maupun 5 cache ????
    apakah mempengarui kualitas cache ???

    mohon penjelasannya ???
    thnks sebelumnya !!!

    BalasHapus
  6. ArdianJr:
    Partisi for proxy lusca
    [1] 44GB untuk file system /
    [2] 2GB untuk file system /boot status flag on [3] 4GB swap
    [4] 200GB untuk /cache-1
    [5] 200GB untuk /cache-2.

    untuk contoh lihat menu partisi tulisan di atas :D
    semoga membantu

    BalasHapus
    Balasan
    1. untuk /boot ngk perlu besar2 bos, cukup 256 mb saja. /root 15 gb , untuk swap 2 x memory ram yg kita pakai, untuk cahce lihat kapasitas ram yg kita pakai ex : Ram 1 gb untuk kapasitas cache 25 gb. ingin dapakan hasil maksimal semua ada hitungan nya... jangan sembarang masang... klo sembarangan masang, ngk akan maksimal kerja nya dan buang2 kapasitas hdd.

      Hapus
  7. Thnks Bgt atas respone cpt jawabannya mas,.
    sangat bermanfaat, kpda kami yg newbie,. hhehhe..
    dan saya mau bertanya kembali
    apakah yg diatas itu : PAKET INSTALL TAMBAHAN ( untuk microtik )
    apakah bisa setting tambahan untuk microtik itu langsung dilakukan
    soalnya posisi microtik saya sudah di setting bandwidthnya saja.
    belum memakai proxy,.??
    apakah jika saya sdh instal ubuntu dan lusca sesuai di atas
    lalu aku tambahkan seting microtiknya,. apakah bisa mas,.??
    bagaimana cara agar proxy > klient agar tidak ikut terlimit ???
    apakah seting tambahan itu buat agar proxy tidak terlimit ???
    THNKS BGT untuk MAS EKO !!!

    BalasHapus
  8. bang eko minta saran dong.. kalo partisi untuk 250 hd dan 4 gb memory gimana caranya ya? trimakasih sblnya.


    baru belajar bang

    BalasHapus
  9. ARdianJr untuk setting bisa di pake tp untuk jelasnya via ym or fb aja YM!: mr.ekoapriadi@yahoo.com Facebook: www.facebook.com/shifu.us

    BalasHapus
  10. M Edwin Kaeng:
    [1] 35GB untuk / (root)
    [2] 4GB untuk /boot status flag on
    [3] 8GB untuk swap
    [4] 100GB untuk /cache-1
    [5] 100GB untuk /cache-2

    Gitu saja semoga membantu :D jika lusca tidak running maka storeurl.pl di ganti scriptnya bisa cari di google om :D.
    Semoga membantu

    BalasHapus
  11. sangat bagus sekali mas eko, cuma knapa ya kok clien tdak bisa browsing ke internet , lamgsung erorr ,dimana ya mas eko ksalahan nya .tks

    BalasHapus
  12. Themoxcom: om untuk squid.conf jangan asal di copas om di edit dl :D Sesuaikan dengan topologi jaringan n kapasitas memory komputer (RAM+HDD).

    BalasHapus
  13. CV. TRANS KONSTRINDO: iya om paket tetep di pake om

    BalasHapus
  14. Bro... itu contoh nya cuma pake 1 partisi cache yah? soalnya saya liat di squid.conf nya cuma ada :
    cache_dir aufs /cache1 500 16 256

    Kalo mau pake 2 partisi cache gimana?
    apa tinggal nambahin aja:
    cache_dir aufs /cache2 200 16 256
    cache_dir aufs /cache3 200 16 256
    ..dst ?
    atau gimana bro?

    thanks sebelumnya...

    BalasHapus
    Balasan
    1. nggk gitu om, om cari program aplikasi namanya squid calculator di google.com, tar di situ om buat saja cache brapa untuk hdd brapa.
      smoga membantu :D

      Hapus
  15. Mas Merdi: untuk partisi bisa di tambahin sendiri ya di squid.conf dan jangan lupa di buat directory cache nya n permissionnya :D dan untuk isi cache disesuaikan dengan kapasitas hdd yang mau di isi berapa cache-1 / cache-2.

    BalasHapus
  16. pengen tanya mas klo misalkan proxynya 2 eth seperti ini dan topologinya seperti ini gimana ya manglenya ane mentok mangle untuk proxy 2 eth ini

    BalasHapus
    Balasan
    1. INET<<<<----->>>>MIKROTIK<<<<<---------->>>>PROXY<<<---->>>CLIENT


      KET.
      eth1 dimikrotik ke INET
      eth2 dan eth3 dimikrotik ke proxy
      eth4 dimikrotik ke client

      nah pertanyaannya gimana caranya mangle untuk proxy yang HIT

      Hapus
  17. itu kamu punya cache youtube berjalan full atau cuman 0,51 second

    BalasHapus
    Balasan
    1. Full tp scrip squid.conf nya tidak pake yang ini ... yang asli buat cari beras om :D
      harap maklum

      Hapus
    2. terus carax bagaimana?. untuk mendapatkan cache youtube full

      Hapus
    3. kirimkan totarialnya cara setting ubuntu 11.10 di email andhykapradana@yahoo.co.id Makasih Bos infonya Jika Bersedia di bantu....

      Hapus
    4. Andhyka Pradana: tutorial yang di atas bisa di pake untuk Ubuntu 11.10 OM di coba saja

      Hapus
  18. Sa'dan Anisul Fuad: Di cermati terlebih dahulu sebelum di pasang jangan asal copas :D

    BalasHapus
  19. mas sy br nyoba kok muncul ini ya:

    commBind: Cannot bind socket FD 15 family 2 to 0.0.0.0 port 3128: (98) Address already in use
    FATAL: Cannot open HTTP Port

    kira-kira dimana ya errornya >

    BalasHapus

 
Top