Pages

Tampilkan postingan dengan label IP Fire. Tampilkan semua postingan
Tampilkan postingan dengan label IP Fire. Tampilkan semua postingan

Kamis, 23 Januari 2014

DAFTAR PORT GAME ONLINE

Berikut daftar Port Game Online :
Modoo Marble - Port > 28900:29000

Senin, 21 Oktober 2013

Install IPFire

IPFIRE 2.11 CORE 61 + Squid Ver 2.7 Stable9 (tested & Work)
( maaf jika belum ada link download, mudah2an segera ada waktu untuk mengupload )
Kelebihan IPFire dengan kombinasi + Squid + Storeurl.pl + readbackwards-perl + Qos:
- Cache Dynamic Contents (Youtube dst.)
- Limit Bandwith (bagi user yg pake downloader IDM, Torrent dan sejenisnya)
- Tidak Menggunakan Mikrotik
Spesifikasi Komputer
- Processor tidak perlu yg cepet, pake Celeron 1,6Ghz cukup, 
- Ram 4gb (biar harddisk Awet), tapi harus pake chipset Mobo yg support 4gb biosnya,
- Harddisk 250gb ato lebih (biar bisa nyimpen youtube yg banyak)

Langkah instal:

INSTAL IPFIRE 2.11 CORE 61
1. Burn file ISO (ipfire-2.11-core61.iso) ke flashdisk dengan rufus 
   JANGAN PAKE CORE YG LEBIH TINGGI!!
   Install
3. Setelah instal sukses (masuk console #) / seperti command prompt
4. Masuk ke root >
                   #root
                  Password#

    [root@ipfire]#setup (untuk setting Lan, time dst)

5. Instal SQUID VER_2.7_STABLE9
        Versi Online:
    hidupkan SSH (masuk web gui > https://192.168.1.1:444)
    masuk dengan Putty > root
    [root@ipfire]#cd /tmp
    [root@ipfire]#wget http://cachebox.googlecode.com/files/squid-2.7STABLE9.tar.gz
    [root@ipfire]#tar -zxvf squid-2.7STABLE9.tar.gz
    [root@ipfire]#cd  squid-2.7STABLE9
    (edit dulu file instal > $core sesuaikan menjadi "61")
    [root@ipfire squid-2Stable9]#./install
        Versi Offline
    hidupkan SSH (masuk web gui > https://192.168.1.1:444)
    Masuk dengan WinSCP
    Copy Paste file "squid-2.7STABLE9.tar.gz" ke folder /tmp
    masuk dengan putty
    [root@ipfire]#cd /tmp
    [root@ipfire tmp ]#tar -zxvf squid-2.7STABLE9.tar.gz
    [root@ipfire tmp ]#cd  squid-2.7STABLE9
    (edit dulu file instal > $core sesuaikan menjadi "61")
    [root@ipfire squid-2Stable9]#./install
   
6. Instal Addon readbackwards-perl
    Versi Offline
    Copy Paste file "File-ReadBackwards-1.05.tar.gz" ke folder tmp  (via  WinSCP)
    masuk dengan putty
    [root@ipfire]#cd /tmp
    [root@ipfire tmp ]#tar xzvf File-ReadBackwards-1.05.tar.gz
    [root@ipfire tmp ]#cd  File-ReadBackwards-1.05
    [root@ipfire File-ReadBackwards]#.mkdir /usr/lib/perl5/site_perl/5.12.3/i586-linux-thread-multi/File
    [root@ipfire File-ReadBackwards]#cp ReadBackwards.pm /usr/lib/perl5/site_perl/5.12.3/i586-linux-thread-multi/File
    [root@ipfire File-ReadBackwards]#chmod -R 755 /usr/lib/perl5/site_perl/5.12.3/i586-linux-thread-multi/File/ReadBackwards.pm

7. Copy dan timpa file storeurl.pl  ke /etc/squid/

8. Masuk ke > /var/ipfire/proxy/advanced/acls/        
  dan rubah file "include.acl" (yg lama jgn ada yg dihapus, tapi tambahkan script ini)
    strip_query_terms off
    acl yutub dstdomain .youtube.com .youtu.be
    logformat squid1 %{Referer}>h %ru
    access_log /var/log/squid/yt.log squid1 yutub
    acl redirec urlpath_regex -i &redirect_counter=1&cms_redirect=yes &ir=1&rr=12
    cache deny redirec
    storeurl_access deny redirec

9. Instal Addon CCZE untuk cek Hit squid
         secara online
    Jalankan putty
    [root@ipfire] # wget http://cachebox.googlecode.com/files/ipfire-ccze.tar.gz
    [root@ipfire] # tar -zxvf ipfire-ccze.tar.gz
    [root@ipfire] # cd ipfire-ccze
    [root@ipfire] # ./install
           secara offline
    Copy paste  ipfire-ccze.tar.gz ke > /root
    [root@ipfire] # tar -zxvf ipfire-ccze.tar.gz
    [root@ipfire] # cd ipfire-ccze
    [root@ipfire] # ./install
    ---------
    Untuk melihat hasil
    [root@ipfire]# tail -f /var/log/squid/access.log | ccze

10. cek readbackwards-perl
    di> /var/log/squid/yt.log

    bisa jg secara real time dg ccze
    [root@ipfire]# tail -f /var/log/squid/yt.log | ccze

11. cek squid paramater error / ga
    #squid NDd1


Folder-folder penting
squid.conf > /var/ipfire/proxy
---------------
storeurl.pl > /etc/squid/storeurl.pl
---------------
include.acl > /var/ipfire/proxy/advanced/acls/
---------------
QoS > /var/ipfire/qos
---------------
instalasi addon ada di folder
#root/
-----------

sumber ilmu silahkan anda kunjungi :
Fazar.net
IPfire.org
forum ipfire

Rabu, 18 September 2013

Folder Folder Penting IPFire

squid.conf > /var/ipfire/proxy/
---------------

storeurl.pl > /etc/squid/
---------------
include.acl > /var/ipfire/proxy/advanced/acls/
---------------
QoS > /var/ipfire/qos/
---------------

instalasi addon ada di folder
#root/
-----------
updxlrator > /usr/sbin/
-------------------- 
updxlrator.cgi > /srv/web/ipfire/cgi-bin/

-------------------- 
 
cek squid paramater error / ga

#squid ndd1

Membatasi Limit Download IDM dengan DELAY POOLS SQUID

include.acl > /var/ipfire/proxy/advanced/acls/
sisipkan script berikut di baris bawah include.acl (buat yg awam) / atau di squid.conf (/var/ipfire/proxy):
catt. jangan buka menu WEBPROXY (Jangan Save/Save & Reload / Save&Restart) 
TAPI gunakan menu HOME > reboot (untuk melihat hasil DELAY POOLS INI)
 # dimmensi.blogspot.com
# buat limit download (IDM, internal Firefox, Chrome dan browser lainnya)
# sesuaikan IPGreen asumsi di script ini adalah 192.168.1.1
# (ini yg paling cocok buat Speed 2Mb(256KBps) untuk 11PC tested)
# 24000/24000 artinya setelah speed (+-) 24KBps setelah download 24KB (membatasi speed download mp3..dst
#48000/48000 artinya setelah speed (+-) 48KBps setelah download/play youtube 48KBps (membatasi play/download ytube)


acl lokal src 192.168.1.0/24acl admin src 192.168.1.1 192.168.1.2 192.168.1.3
acl streaming url_regex -i .c.youtube.com
acl donlod url_regex -i \.mp3 \.mp4 \.flv \.rar \.zip \.wmv \.mpg \.mpeg \.wma \.wav \.3gp \.3gpp \.avi \.dat \.aac \.ogg \.mov \.7z \.iso \.ace \.exe \.mkv  \.rm \.asf

#http://r3---sn-npo7enel.c.youtube.com/

delay_pools 3 #dibaca: ada 3 pool yg didefinisikan

# -----------------------------------------------------------------------
delay_class 1 1  #dibaca: pool ke-1 menggunakan aturan class 1 (1 aturan untuk parameter-parameter yg ada)
delay_parameters 1 -1/-1 #pool ke-1 menggunakan aturan hanya (1)satu class yaitu -1/-1 (tidak dibatasi)
delay_access 1 allow admin #pool ke-1 ini di-allow(dibolehkan/diatur khusus untuk admin @lihat acl admin)
delay_access 1 deny all #selain admin tidak boleh pake pool ke-1 ini
# ----
delay_class 2 2 #pool ke-2 menggunakan aturan class 2 (2 aturan untuk parameter yg ada)
delay_parameters 2 -1/-1 24000/24000 #pool ke-2 > dg aturan class 2 (aturan class -1/-1 dan aturan class 24000/24000)

#(aturan class ke-1) -1/-1 (untuk mengatur network/browsing secara umum agar unlimit)
#(aturan class ke-2) 24000/24000 (untuk mengatur speed 24KBps untuk parameter dibawah ini)
delay_access 2 allow donlod lokal #pool ke-2 ini diatur khusus untuk "donlod" dan "lokal" agar kecepatan 24KBps
delay_access 2 deny all #selain donlod lokal tidak terkena aturan pool ke-2 ini
# ---
delay_class 3 2 #pool ke-3 menggunakan aturan class 2 (2 aturan)
delay_parameters 3 -1/-1 48000/48000 #pool ke-3 mengatur network secara umum unlimit (-1/-1) dan

#terbatas hanya 48KBps untuk "streaming" dan "lokal"
delay_access 3 allow streaming lokal
delay_access 3 deny all

#--------------------------------------------------------sekian

#Nb. sebelum di Reboot IPFire-nya
#terlebih dahulu cek squid.conf nya error / tidak
# dengan command > squid ndd1

Pengaturan QOS untuk Membagi dan Memprioritaskan Bandwith

qos          >  /var/ipfire/qos

=======================
isi file classes :
---
imq0;202;4;160;768;;;8;SecureWeb;
imq0;203;6;200;1024;;;4;Webtraffic;
red0;101;1;64;512;;;8;ACKs;
red0;102;2;64;512;;;8;SecureWeb;
red0;103;3;64;512;;;8;Webtraffic;
red0;110;5;64;256;;;0;DefaultClass;

imq0;210;7;180;1024;;;0;DefaultClass;
-------------------------------------
isi file level7config :
---
101;red0;dns;;;
102;red0;https;;;
103;red0;http;;;
110;red0;ftp;;;
202;imq0;https;;;
203;imq0;http;;;
210;imq0;ftp;;;
----------------------------------------------------
isi file portconfig :
---
101;red0;icmp;;;;3;
101;red0;tcp;;;;53;
101;red0;udp;;;;53;
102;red0;tcp;;;;443;
103;red0;tcp;;;;80;
103;red0;udp;;;;80;
202;imq0;tcp;;;;444;
203;imq0;tcp;;;;80;

203;imq0;udp;;;;80;
-------------------------------------------------
isi file settings :
---
CBURST=
RED_DEV_SEL=
SPD=
RED_DEV=red0
DIP=
TOS=
DOCLASS=
IMQ_DEV=imq0
DEFCLASS_INC=210
PRIO=
DOLEVEL7=
QIP=
EDIT=no
PPROT=
SCLASS=
SFQ_PERTUB=10
DEFCLASS_OUT=110
QPORT=
DEF_INC_SPD=1843
BURST=
ENABLED=on
QLENGTH=30
MAXBWDTH=
OUT_SPD=512
ACK=101
IMQ_DEV_SEL=
DOSCLASS=
CLASS=
L7PROT=
CLASSPRFX=
VALID=yes
INC_SPD=2048
DEF_OUT_SPD=460
MINBWDTH=
DPORT=
DEVICE=
MTU=1492
DEV=
DOPORT=

----------------------------------------

Instal Read Backward-Perl

Sedang dalam penulisan

Install CCZE untuk cek HIT Squid

Install CCZE
sedang dalam penulisan

command CCZE :
-------------------------------------------------
untuk cek log squid seluruh ip
# tail -f /var/log/squid/access.log | ccze
----------------------------------------------------------------------------
untuk cek log squid ip address tertentu misal 192.168.1.2
# tail -f /var/log/squid/access.log | grep -i '192.168.1.2' | ccze
---------------------------------------------------------------------------
untuk cek log squid expression tertentu misal miss, hit, youtube, dst
# tail -f /var/log/squid/access.log | grep -i 'miss' | ccze
---------------------------------------------------------------------------