Saturday, January 21, 2006

ubuntu gprs halo

[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 9600
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init2 = AT+cgdcont=1,”ip”,”telkomsel”
FlowControl = CRTSCTS
Phone=*99***1#
Username=”wap”
Password=”wap123”

Tuesday, January 03, 2006

client.ovpn

dev tap
port 5000
verb 3
remote 202.xxx.xxx.xxx

tls-client
ca ca.crt
cert client.crt
key client.key

cipher AES-128-CBC
tls-cipher DHE-RSA-AES256-SHA
auth SHA1
key-method 2
pull
comp-lzo

openvpn.conf

dev tap
port 5000
verb 4
mode server
duplicate-cn

ifconfig 10.10.10.1 255.255.255.0
ifconfig-pool 10.10.10.2 10.10.10.11 255.255.255.0


tls-server
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem

cipher AES-128-CBC
tls-cipher DHE-RSA-AES256-SHA
auth SHA1
key-method 2

push "route 192.168.100.0 255.255.255.0 10.10.10.1"
comp-lzo
status openvpn-status.log

Monday, January 02, 2006

cacti

pastikan uncomment
php.ini --> extension=mysql.so

Sunday, January 01, 2006

gateway

hiks..... ben rak lali
net.ipv4.ip_forward = 1
iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to xxx.xxx.xxx.xxx