Photobucket Photobucket

Pendidikan Indonesia MAJU dan JAYA

Majukan Pendidikan Indonesia, jangan biarkan siswa siswi sampai putus sekolah, tuntaskan sekolah 12 tahun, bantu mereka mendapatkan pendidikan yang layak dan bermutu.

Belajar bersama mengenai Jaringan komputer dan Ilmu IT

Belajar bersama mengenai teknik komputer jaringan, operating system, hardware, software, RPL, Editing dan banyak mengenai ilmu IT.

Roborovski, Campbell, Winter White dan Syirian 3

Mari lestarikan hamster, hamster yang lucu jangan hanya sebagai makan reptil, tapi kita pelihara dan jadikan hewan kesayangan.

Menuju keluarga yang sakinah mawadah warohmah

Sayangi keluarga, ciptakan keluarga yang tenang, saling mengasihi, saling peduli, jadikan keluarga lebih bermutu dan mengutamakan iman dan taqwa kepada Allah SWT. semoga Allah SWT selalu memberi lindungan pada keluarga kita. amin

STOP korupsi di Indonesia

Stop Korupsi mulai dari diri sendiri sampai ke penjuru Indonesia, jangan buat indonesia terus menerus terpuruk akibat memperkaya diri sendiri atau kelompok tertentu. STOP Korupsi.

Senin, 21 Juli 2008

http://www.csd.toshiba.com/cgi-bin/t...su_sc_home.jsp

di atas merupakan link buat download toshiba satellite a60

Rabu, 02 Juli 2008

belum ada judul

di hari ini menambahnya usiaku.
dengan bertambahnya umur ini :
1. aku ingi selalu menjadi orang yang selalu berjalan di jalan yang benar.
2. selallu tetap ingat terhadap Yang Maha Kuasa
3. berusaha selalu mensyukuri karunia dan nikmat yang sudah diberikan
4. terus selalu giat belajar tanpa mengenal rasa malas...
5.

Minggu, 29 Juni 2008

PROXY-SERVER

12 cara mengeset proxy server

1. Mengecek squid sudah terinstall atau belum :
# dpkg -P squid
debian:~# dpkg -P squid
(Sedang membaca basis data ...66464 berkas dan direktori telah terpasang.)
Sedang membuang squid ...
Stopping Squid HTTP proxy: squid.
Sedang memusnahkan berkas konfigurasi untuk squid ...
Purging startup links ..
Purging logfiles ..
Removing the config-file ..
Remove the proxy cache in /var/spool/squid yourself!
dpkg - PERINGATAN: ketika membuang squid, direktori `/var/spool/squid' tidak kosong, jadi tidak dibuang.
dpkg - PERINGATAN: ketika membuang squid, direktori `/etc/squid' tidak kosong, j adi tidak dibuang.

2. Menghapus rule NAT di pc router
# iptables -t nat –F
debian # iptables -t nat –F

3. Melakukan ping atau mtr dari PC client ke arah server eepis-its.edu (202.154.187.2) dan pastikan TIDAK terkoneksi !!!

4. Installasi aplikasi proxy “squid” di mesin PC router
# apt-get install squid
debian:~# apt-get install squid
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
squidclient squid-cgi logcheck-database resolvconf smbclient
The following NEW packages will be installed:
squid
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/655kB of archives.
After unpacking 1647kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
squid
Install these packages without verification [y/N]? y
Prakonfigurasi paket ...
Memilih paket squid yang sebelumnya tidak dipilih.
(Sedang membaca basis data ...66429 berkas dan direktori telah terpasang.)
Sedang membuka paket squid (dari .../squid_2.6.5-6etch1_i386.deb) ...
Sedang menyetel squid (2.6.5-6etch1) ...
Restarting Squid HTTP proxy: squid.

5. Merubah konfigurasi pada /etc/squid/squid.conf di mesin PC router, supaya memperbolehkan IP client di jaringannya dapat mengakses ke jaringan luar.
# vim /etc/squid/squid.conf
debian # vim /etc/squid/squid.conf

Cari bagian :
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks
tips: Pada vim dapat dilakukan dengan : ESC – tekan tombol / - ketik “our_network”. Rubah menjadi : (isi dengan IP jaringan dan hilangkan tanda # didepannya)
acl our_networks src 192.168.1.0/24
http_access allow our_networks

6. Restart aplikasi squid dengan cara :
# /etc/init.d/squid restart
debian:~# /etc/init.d/squid restart
Restarting Squid HTTP proxy: squid.

7. Pada PC client, buka aplikasi web browser (iceweasel), rubah preferences untuk proxy. Isikan dengan IP mesin proxy dan portnya.
Contoh :
HTTP Proxy : 192.168.1.1 dengan port : 3128

8. Pada PC Client, lakukan akses ke alamat web http://noc.eepis-its.edu atau http://www.eepis-its.edu (Tidak mengakses ke INTERNET !!!)
http://noc.eepis-its.edu


http://www.eepis-its.edu


9. Menampilkan report dari client yang menggunakan proxy yang ada di /var/log/squid/access.log
# tail -f /var/log/squid/access.log
debian:~# tail -f/var/log/squid/access.log
tail: invalid option -- /
Try `tail --help' for more information.
debian:~# tail -f /var/log/squid/access.log
1212225017.216 56 192.168.2.100 TCP_MISS/200 16167 GET http://noc.eepis-its.edu/ - DIRECT/202.154.187.2 text/html
1212225061.743 486 192.168.2.100 TCP_MISS/200 18431 GET http://eepis-its.edu/ - DIRECT/202.154.187.5 text/html
1212225062.963 226 192.168.2.100 TCP_MISS/200 14032 GET http://eepis-its.edu/home.php - DIRECT/202.154.187.5 text/html
1212225063.207 140 192.168.2.100 TCP_MISS/200 3466 GET http://eepis-its.edu/news_home.php? - DIRECT/202.154.187.5 text/html
1212225063.222 888 192.168.2.100 TCP_MISS/200 18431 GET http://eepis-its.edu/ - DIRECT/202.154.187.5 text/html

Network Address Translation

1. Siapkan jaringan seperti pada gambar topologi (Gb. 5) dan pastikan tidak ada firewall di mesin PC router !!! (hapus dengan iptables -F dan iptables -t nat -F) Gb 5: Topologi Praktikum









2. Konfigurasi IP Address (network 2)
Pada server :
debian:~# ifconfig eth1 192.168.2.1 broadcast 192.168.2.255 netmask 255.255.255.0 up
debian:~# reboot
debian:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:9A:37:18:E5
inet addr:10.252.108.144 Bcast:10.252.108.255 Mask:255.255.255.0
inet6 addr: 2001:470:8049:108:217:9aff:fe37:18e5/64 Scope:Global
inet6 addr: fe80::217:9aff:fe37:18e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:330 errors:0 dropped:0 overruns:0 frame:0
TX packets:345 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33031 (32.2 KiB) TX bytes:32243 (31.4 KiB)
Interrupt:169 Base address:0xc000

eth1 Link encap:Ethernet HWaddr 00:00:E2:A2:C0:B7
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::200:e2ff:fea2:c0b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:5056 (4.9 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

3. Aktifkan IP-forwarding : # echo 1 > /proc/sys/net/ipv4/ip_forward
debian:~# echo 1 > /proc/sys/net/ipv4/ip_forward

4. Pada PC client diberikan alamat IP static sesuai dengan jaringannya. Misal jaringan 192.168.1.0/24 diberi IP 192.168.1.100.
Konfigurasi alamat IP pada client :
debian:~# ifconfig eth0 192.168.2.100 broadcast 192.168.2.255 netmask 255.255.255.0 up
debian:~# reboot
debian:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:00:E2:9B:3C:DF
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2001:470:8049:108:200:e2ff:fe9b:3cdf/64 Scope:Global
inet6 addr: fe80::200:e2ff:fe9b:3cdf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:686 errors:1 dropped:0 overruns:0 frame:1
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47370 (46.2 KiB) TX bytes:5631 (5.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:459 errors:0 dropped:0 overruns:0 frame:0
TX packets:459 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47176 (46.0 KiB) TX bytes:47176 (46.0 KiB)

5. Mengecek konektifitas antara PC Router dan PC Client :
Ping Dari PC Router ke Client :
debian:~# ping 192.168.2.100
PING 192.168.2.100 (192.168.2.100) 56(84) bytes of data.
64 bytes from 192.168.2.100: icmp_seq=1 ttl=64 time=4.10 ms
64 bytes from 192.168.2.100: icmp_seq=2 ttl=64 time=0.146 ms
64 bytes from 192.168.2.100: icmp_seq=3 ttl=64 time=0.142 ms

--- 192.168.2.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.165/1.971/5.575/2.548 ms

Ping Dari PC Client ke Router :
debian:~# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.175 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=0.170 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=0.165 ms

--- 192.168.2.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.165/0.170/0.175/0.004 ms


6. mtr ke arah IP server ns1.eepis-its.edu (202.154.187.2) dan ke arah PC client di jaringan lainnya dari PC client maupun PC router.
# mtr 202.154.187.2

# mtr 192.168.1.100


7. Menambahkan NAT pada PC router, dengan IP network sesuai dengan jaringan masing-masing
# iptables -t nat -I POSTROUTING -s 192.168.2.0/24 -j MASQUERADE
debian:~# iptables -t nat -I POSTROUTING -s 192.168.2.0/24 -j MASQUERADE

8. Mencatat hasil iptables pada PC router
# iptables -t nat –nL
debian:~# iptables -t nat -nL

Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE 0 -- 192.168.2.0/24 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

9. Membuka website http://noc.eepis-its.edu dari PC client.

Sabtu, 14 Juni 2008

pertama membuat blog

test dulu