Cisco NAT

Cisco NAT (Many to One)

Int fa0/0 is Public IP, become Outside
Int fa0/1 is Private IP, become inside

And setup DHCP for the client (Next schedule)

interface FastEthernet0/0
ip address 118.151.221.254 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.10.10.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip nat inside source list 1 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 118.151.221.253
!
!
access-list 1 permit any

Source Based Routing Iptables

iptables -t mangle -A PREROUTING -s 10.0.0.0/8 -j MARK –set-mark 5
ip rule add fwmark 5 table 200
ip route add default via 192.168.0.1 table 200

php Tutorial

Link yang bagus untuk belajar php.

http://blog.rosihanari.net/

HTB-tools

Hierarchical Token Bucket ( HTB )

I use this tool on all servers to limit the client bandwidth. Simply perfect.

HTB-Tools Website
http://htb-tools.skydevel.ro/

HTB-Tools Howto
http://htb-tools.skydevel.ro/e107_plugins/content/content.php?content.11

Error ‘vlog’ Vpopmail

Solutions for error table ‘vlog’ (vpopmail). You can read at :

http://henry.gultom.or.id/index.php/archives/2008/05/22/repair-table-mysql/

A very busy week

A very busy week, lots of issues that must be completed immediately.

We’re sorry if a lot of guidance wait a firewall that I promised in PDF format, I do not know when the guide is finished.

Next is the schedule, monitor the process of inter connection from Mobile8.

Small business

I’m thinking what a good business small and does not disrupt the activities of the office?

If you have suggestions please let me know.

Firewall

In the near future is a tutorial about the firewall in GNU / Linux and Mikrotik, right in the finish.

Please wait in the PDF format, and freely distributed with the GPL license.

I’m back

I have one year left office beloved. And finally I went back to my office a long time (HasindoNet). During the year also this blog I do not update, sorry to frequently visit this blog because it does not have any posts latest. Start today I write back in this blog.

And I have a website that is also a year that I leave http://www.terimanasib.com, hopefully in the near future this website can be completed.

Happy to return to Hasindo, for this time I will give the best.

Thanks to Mr. Mantaray and Andryan “http://www.sanriotown.co.id” which has provided both the opportunity and confidence to manage Hasindo Network.

Hopefully all can run smoothly without the barriers of any kind.

Thanks

Software RAID di CentOS 5.1

A. Yuke mari kita ngeRAID di CentOS (Software RAID).

A.1. Ikuti tutorial di bawah ini, setelah itu install CentOS sampai dengan selesai.
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html

A.2. Konfigurasi Grub agar ketika salah satu harddisk rusak, kita masih bisa memboot dengan harddisk yang satunya lagi.

[root@terimanasib ~]# grub
device (hd0) /dev/sda
root (hd0,0)
setup (hd0)
device (hd1) /dev/sdb
root (hd1,0)
setup (hd1)

B. Cara untuk menrebuild harddisk yang baru, ketika harddisk yang satu rusak.

B.1. Buat partisi di harddisk yang baru, dengan catatan besar partisi itu harus sama dengan harddisk yang sedang berjalan.

B.2. Mulai proses rebuild dengan perintah..

[root@terimanasib ~]# mdadm --manage --add /dev/md0 /dev/hda1
[root@terimanasib ~]# mdadm --manage --add /dev/md1 /dev/hda2
[root@terimanasib ~]# mdadm --manage --add /dev/md2 /dev/hda3

Perintah diatas sesuaikan dengan partisi anda Yah

B.3. Kembali ke proses A.2. (Proses installasi grub ke setiap MBR Harddisk yang ada)

Jika sudah selesai rebootlah server tersebut dan anda sukses, jika belum…. http://www.terimanasib.com deh :)

Refrensi:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html
http://www.flmnh.ufl.edu/linux/linux_software_raid.htm
http://ex-parrot.com/~pete/software-raid-howto.html

Follow

Get every new post delivered to your Inbox.