FIXED -- CARA INSTALL OPEN VPN PADA CENTOS 5 DAN 6 32Bit atau 64Bit





Karena Banyak request yang minta TUTORIAL ini maka saya buatkan

mudah mudah an bermanfaat :
====================
1. masuk via bitvise buka terminal (xterm), atau via putty
2. harus dengan root access
---
pastikan TUN TAP sudah aktif
masukkan :
cat /dev/net/tun
pastikan balasannya : file descriptor in bad state
---------------------------------
3. masukan perintah berikut :
CENTOS 5 32bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
CENTOS 5 64bit
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
CENTOS 6 32 bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
CENTOS 6 64bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

ALL CENTOS 5

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
ALL CENTOS 6 
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt (abaikan jika gagal)
rpm -K rpmforge-release-0.5.3-1.el6.rf.*.rpm
rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm
yum install openvpn -y
cp -r /usr/share/doc/openvpn-2.2.2/easy-rsa/ /etc/openvpn/
PERHATIKAN CENTOS 6
butuh sedikit perubahan
yum -y install nano
nano /etc/openvpn/easy-rsa/2.0/vars
kemudian EDIT baris berikut : 

export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`

MENJADI :

export KEY_CONFIG=/etc/openvpn/easy-rsa/2.0/openssl-1.0.0.cnf

kemudian SAVE (Ctrl+x) (Y) (ENTER)

cd /etc/openvpn/easy-rsa/2.0/
chmod +x *
source ./vars
./vars
./clean-all
./build-ca
cukup Enter Semua KECUALI COMMON NAME (isi sesuai keinginan)
kemudian :
./build-key-server server
Perhatikan dan Ikuti Langkahnya Baik-baik
saat muncul notifikasi (ada dua kali) pilih Y (y)
----------------------------------------
./build-dh
tunggu hingga proses selesai
 jika sudah masukkan berikut :

cp -r /etc/openvpn/easy-rsa/2.0/keys/ /etc/openvpn/keys/
cp /etc/openvpn/keys/ca.crt /etc/openvpn/ 

cd /etc/openvpn/

Membuat Response ke TUN driver
cat > server.conf <<END
dev tun*
END 

MembuatConfigurasi server :

cat > groundworld.conf <<END
port 443
proto tcp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.9.8.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 5 30
comp-lzo
persist-key
persist-tun
status server-tcp.log
verb 3
END

 Forwarding Port
echo 1 > /proc/sys/net/ipv4/ip_forward

Iptables Route rules
iptables -t nat -A POSTROUTING -s 10.9.8.0/24 -o venet0 -j SNAT --to xxx.xxx.xxx.xxx

xxx.xxx.xxx.xxx diatas ganti dengan IP VPS anda
 Jalankan VPN di server :
service openvpn start

Buat Client Config :
cat > groundworld.ovpn <<END
client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443
resolv-retry infinite
route-method exe
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
auth-user-pass
comp-lzo
verb 3
END

INGAT, ganti xxx.xxx dengan IP VPS anda
==============================
sekarang kita bungkus makanan kita :
tar -czvf config.tar.gz ca.crt groundworld.ovpn


cp config.tar.gz /root
config.tar.gz di download via sftp windows di directory /root, jika kesulitan, kalo sudah ada httpd bisa dicopy ke sini :
 
cp config.tar.gz /var/www/html/
 silahkan file di download di http://IpVPSkamu/
ex : http://212.112.11.123/



=========================
sekarang di terminal (masih)
bikin user untuk ngetest

adduser -m -s /bin/false trial
passwd trial 

masukkan 2x autentikasi pass nya 

cmiww, DONE !!!
------------------------
Tinggal Pindahkan Downloadan Config tadi, ekstrak menggunakan 7-Zip
dan pindahkan ke C > program files > openvpn > config
=============
CARA MUDAH 
============= 
download openvpn portable disini :
----------------------
http://sourceforge.net/projects/ovpnp/files/latest/download
-----------------------
kemudian install di folder yang kamu suka 
----------------------
setelah itu masuk ke folder OpenVPNPortable > data > config
------------------
ekstrak file config.tar.gz disini, pastikan setelah ter-ekstrak terdapat 2 FILE :
-------------------
1. groundworld.ovpn
dan
2. ca.crt
================
DONE !! silahkan jalankan openVPNPortable, di Icon Tray Kanan Bawah PC anda klik kanan 
Connect groundworld dan masukan user dan pass yang telah dibuat diatas
----------------------------------
jika masih belum mau, gunakan Contoh Config dibawah :
copykan ke groundworld.ovpn atau buka notepad dan save as type ALLFILES dan PADA file name di isi ekstensi .ovpn ex : hostingindo.ovpn
-------------------------
client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443
route 0.0.0.0 0.0.0.0
resolv-retry infinite
route-method exe
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass pass.txt
comp-lzo
verb 3
ca ca.crt

---------------------------
PERHATIAN !!

UNTUK MENGGUNAKAN CONFIG DIATAS BUAT FILE PASS.TXT 
GUNAKAN NOTEPAD
FORMAT :
username
password
==>contoh
trial
trial
simpan di folder OpenVPNPortabel > data > config
===================================
UNTUK OPENVPN listen INJEK gunakan config :
------------------------------------
client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443

http-proxy 127.0.0.1 xxxx
route 0.0.0.0 0.0.0.0
resolv-retry infinite
route-method exe
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass pass.txt
comp-lzo
verb 3
ca ca.crt

==================================================
http-proxy 127.0.0.1 xxxx (xxxx diisi dengan PORT INJECT !)
==================================================
untuk yang bermasalah dengan route dan terbiasa menggunakan route manual
masukan config :
-------------------------
client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443

http-proxy 127.0.0.1 xxxx
route 0.0.0.0 0.0.0.0
resolv-retry infinite
route-method adaptive
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass pass.txt
comp-lzo
verb 3
ca ca.crt

-------------
DONE !! silahkan jalankan openVPNPortable, di Icon Tray Kanan Bawah PC anda klik kanan 
Connect groundworld dan masukan user dan pass yang telah dibuat diatas
---------

DONE, silahkan ditanyakan jika ada yang kurang
Mohon Maaf jika ada kekurangan, silahkan Komeng :)

MEMBUKA PORT SSH PADA CENTOS dan DEBIAN

halo semua :)
langsung aja ya tutorial membuka port ssh pada centos dan debian
=============================================

1. masuk via bitvise buka terminal (xterm), atau via putty
2. harus dengan root access
---------------------------------
3. masukan perintah berikut :

yum  install nano -y

nano /etc/ssh/sshd_config










jika sudah pencet Ctrl+X kemudian Y lalu ENTER
=======================
DONE,
--------
di restart SSH nya
CENTOS :
service sshd restart
atau
/etc/init.d/sshd restart
DEBIAN :
service ssh restart (kalo salah googling ) :p
/etc/init.d/ssh restart 

FINISH

CARA MEMBUAT USER SSH DI CENTOS VPS

Sebenarnya udah cukup banyak yang bahas soal ini tapi it's okay kita bahas lagi

cara bikin user pada CENTOS VPS adalah :
----------------------------------------------

useradd joko

joko adalah nama yang akan dipakai, namun pembuatan user seperti itu masih bisa untuk mengakses terminal dan ftp, sekarang kita batasi

useradd joko -m -s /bin/false

jangan lupa masukan password untuk joko :

passwd joko

=====================
untuk membuat group dan home directory masing masing pada centos supaya mudah melihat user cukup dengan :

groupadd groundworld
useradd -d /home/joko -m -g groundworld -s /bin/false joko

setelah itu ketikan : 
ls /home
maka user yang kita buat akan muncul disitu 

groundman

CARA INSTALL RAPIDLEECH DI CENTOS DAN MEMASUKKAN PREMIUM ACCOUNT / AKUN PREMIUM

OKAY !!! Langsung Aja Sob, tanpa Bertele-tele
sering liat tampilan kaya gini :


atau kaya gini :


Yuk Kita Langsung Coba, Untuk yang punya VPS centos, Silahkan Login as root
kemudian buka terminal dan tuliskan :

# yum install httpd
# yum install php php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
# service httpd start
# chkconfig httpd on

Script diatas digunakan untuk install HTTPD kaya apache dan saudara2nya pada VPS anda

kemudian, sekarang kita install Rapidleechnya :

# cd /var/www/html
# wget http://rapidleech.googlecode.com/files/rapidleech-svn322.zip
# unzip *.zip
# cp -r r322/* /var/www/html/
# rm -r -f r322
# chmod 777 files
# chmod 777 configs
# cd configs
# chmod 777 files.lst
=======================
sekarang restart httpd nya
# service httpd restart
=======================
well done, anda sudah membuat satu rapidleech, untuk membukanya cukup masukan
alamat vps anda pada browser, contoh :
http://123.123.123.1/
atau
http://123.123.123.1/index.php

===> saat masuk agan nnti diminta untuk konfigurasi rl nya, isi sesuai kebutuhan

Kemudian, BAGAIMANA UNTUK MEMASUKKAN AKUN PREMIUM nya ??

mudah saja :

1. Buka FTP WINDOWS masuk ke => var/www/html/configs

2. download file, atau unggah file accounts.php ke komputer agan
saran sih ke desktop aja biar gampang..

3. buka acoounts.php dengan notepad

maka akan ada baris seperti ini :

<?php
if (!defined('RAPIDLEECH')) { require_once("index.html"); exit; }
$premium_acc = array();

### Remove '//' from the beginning and enter your username and password for enable premium account ###
//$premium_acc["rapidshare_com"] = array('user' => 'your username', 'pass' => 'your password');
// For multiple rapidshare premium accounts only - if you are using multiple accounts below, comment out the line above
//$premium_acc["rapidshare_com"] = array(array('user' => 'your username1', 'pass' => 'your password1'),array('user' => 'your

username2', 'pass' => 'your password2'),array('user' => 'your username3', 'pass' => 'your password3'));
//$premium_acc["megaupload_com"] = array('user' => 'your username', 'pass' => 'your password');
//$premium_acc["netload_in"] = array('user' => 'your username', 'pass' => 'your password');
//$premium_acc["megashare"] = array('user' => 'your username', 'pass' => 'your password');
//$premium_acc["gigasize"] = array('user' => 'your username', 'pass' => 'your password');
//$premium_acc["share_online"] = array('user' => 'your username', 'pass' => 'your password');
//$premium_acc["megashares"] = array('user' => 'your username', 'pass' => 'your password');

DST

bagaimana mengisinya, contoh :: akun premium netload.in

//$premium_acc["netload_in"] = array('user' => 'your username', 'pass' => 'your password');
-------------------------------------------------------------------------------------------
'your username' diisi dengan username/email
'your password' diisi dengan passwordnya
==========================================maka :
//$premium_acc["netload_in"] = array('user' => 'groundman', 'pass' => 'groundman');

JANGAN LUPA hilangkan  "//' yang berada didepan nama premium akunnya

PERHATIAN :
untuk beberapa akun memerlukan cookies, dan ada configurasinya di dalam accounts.php

4. Setelah di Edit Dengan Notepad, SAVE !! lalu buka FTP windows lagi, dan timpa file
accounts.php tadi di poin 1.

5. DONE !!

Catatan : Bisa Juga Edit Melalui vi atau nano melalui terminal dengan script :

# nano /var/www/html/configs/accounts.php

lalu edit dan keluar dengan CTRL+X , y , CTRL+T arahkan ke files accounts.php dan ENTER !

DONE

semoga bermanfaat !!

ENCODE and DECODE URL untuk Gretongerz

Gretongers pasti udah ga asing lagi sama encoding
Sebenernya ini banyak digunakan untuk meng encode url, tapi apa fungsinya untuk gretongerz,
well maybe this will help :

" If you submit data to CGI scripts using the GET method, you should encode the data as it will be sent over the URL."

Get Method biasanya digunakan dalam request header dan beberapa diantaranya mengarah
pada CGI yang banyak dijadikan BUGs, let me explain latter..

Kalian pasti udah ga asing lagi dengan beberapa trik dengan encoding url bugs
caranya : bungkus bugs dengan encoding ASCII character di bawah ini :


ASCII Character URL-encoding
space %20
! %21
" %22
# %23
$ %24
% %25
& %26
' %27
( %28
) %29
* %2A
+ %2B
, %2C
- %2D
. %2E
/ %2F
0 %30
1 %31
2 %32
3 %33
4 %34
5 %35
6 %36
7 %37
8 %38
9 %39
: %3A
; %3B
< %3C
= %3D
> %3E
? %3F
@ %40
A %41
B %42
C %43
D %44
E %45
F %46
G %47
H %48
I %49
J %4A
K %4B
L %4C
M %4D
N %4E
O %4F
P %50
Q %51
R %52
S %53
T %54
U %55
V %56
W %57
X %58
Y %59
Z %5A
[ %5B
\ %5C
] %5D
^ %5E
_ %5F
` %60
a %61
b %62
c %63
d %64
e %65
f %66
g %67
h %68
i %69
j %6A
k %6B
l %6C
m %6D
n %6E
o %6F
p %70
q %71
r %72
s %73
t %74
u %75
v %76
w %77
x %78
y %79
z %7A
{ %7B
| %7C
} %7D
~ %7E
%7F
` %80
 %81
%82
ƒ %83
%84
%85
%86
%87
ˆ %88
%89
Š %8A
%8B
Œ %8C
 %8D
Ž %8E
 %8F
 %90
%91
%92
%93
%94
%95
%96
%97
˜ %98
%99
š %9A
%9B
œ %9C
 %9D
ž %9E
Ÿ %9F
%A0
¡ %A1
¢ %A2
£ %A3
¤ %A4
¥ %A5
¦ %A6
§ %A7
¨ %A8
© %A9
ª %AA
« %AB
¬ %AC
­ %AD
® %AE
¯ %AF
° %B0
± %B1
² %B2
³ %B3
´ %B4
µ %B5
%B6
· %B7
¸ %B8
¹ %B9
º %BA
» %BB
¼ %BC
½ %BD
¾ %BE
¿ %BF
À %C0
Á %C1
 %C2
à %C3
Ä %C4
Å %C5
Æ %C6
Ç %C7
È %C8
É %C9
Ê %CA
Ë %CB
Ì %CC
Í %CD
Î %CE
Ï %CF
Ð %D0
Ñ %D1
Ò %D2
Ó %D3
Ô %D4
Õ %D5
Ö %D6
× %D7
Ø %D8
Ù %D9
Ú %DA
Û %DB
Ü %DC
Ý %DD
Þ %DE
ß %DF
à %E0
á %E1
â %E2
ã %E3
ä %E4
å %E5
æ %E6
ç %E7
è %E8
é %E9
ê %EA
ë %EB
ì %EC
í %ED
î %EE
ï %EF
ð %F0
ñ %F1
ò %F2
ó %F3
ô %F4
õ %F5
ö %F6
÷ %F7
ø %F8
ù %F9
ú %FA
û %FB
ü %FC
ý %FD
þ %FE
ÿ %FF

FREE VPN TCP and UDP

This VPN actually i got from tricksme.in
they have several server for TCP and UDP and YES, IT IS FOR FREE !!


you can enjoy VPN from almost 100 Server Around the world how bout the port ?? Hell Yes, you can choose it from the list !!no need for user and pass !!

ENJOY THIS VPN !! download it here-------

password : provider-berduka

TUTORIAL KONEKSI DUAL MODEM -- LOAD BALANCING

Kadang Kita Sebagai penggila speed ga pernah cukup sama speed yang didapet, 
udah paling pool dapet segitu pake satu modem, di otak atik kek gimana juga tetep aja, 
running on the floor, tiarap dan speednya ga pernah nambah

Nah lain halnya kalo kita punya dua modem, dan dua2nya kita manfaatkan untuk konek secara bersamaan, entah itu GSM feat GSM or GSM feat CDMA,well
saya udah buatkan tutorialnya beserta gambarnya, semoga bermanfaat 

tutorial dual modem download here