Arsip untuk Januari 16, 2008

FreeBSD | Setting up NATd

Posted in Ruang Belajar | Ruang Research on Januari 16, 2008 by mand41l1nc

English Version

Article Description: Using NATd will allow multiple computers or devices to share the same IP address. Great for cable modems and such.


These instructions will help you configure NATd on FreeBSD with the firewall implemented.NATd will NOT work unless you have a properly configured firewall, so read the firewall tutorial first if you have not already done so.Note that it is almost suicidal to do this remotely, as one mistake can leave you unable to reach the PC.

  1. Become root on the machine.
  2. Formulate a config file.
  3. Figure out the appropriate command line arguments, mine are as follows: (NATd is no longer a port, and is now distributed with FreeBSD)
    • /usr/sbin/natd -m -f /etc/natd.conf
    • -m – tries to keep ports consistant, and helps things like RPC work.
    • -f – specifies the config file to use.
  4. Put the command line into rc.local.
  5. Set the line in /etc/rc.conf that states gateway_enable=”NO to
    gateway_enable=”YES”
  6. Configure your internal machines to use the NATd machine as a gateway.
  7. Reboot.


Here is my natd.conf… to start NATd on bootup I also added the following lines to /etc/rc.conf

natd_enable=”YES”
natd_interface=”ed0″
natd_flags=”-f /etc/natd.conf”

begin natd.conf

use_sockets yes
same_ports yes
unregistered_only yes
dynamic yes

pptpalias 192.168.2.51
port 7778

interface ed0

redirect_port tcp 192.168.2.50:5800 5800
redirect_port tcp 192.168.2.50:5900 5900

end natd.conf

Indonesia Version

Uraian artikel: Mempergunakan NATd akan mengijinkan beberapa komputer atau alat untuk berbagi Alamat IP yang sama. Cocok untuk modem kabel.


Arahan ini akan menolong kamu mengatur NATd pada FreeBSD dengan firewall yang terapkan.
NATd tidak akan bekerja kecuali jika kamu belum mempunyai satu firewall terkonfigur dengan baik, baca firewall pelajaran pertama kalau kamu belum dilakukan.Catatan bahwa ini adalah hampir bunuh diri untuk lakukan ini secara remote, sebagai satu kesalahan dapat membuat kamu yang tidak dapat mejangkau PC.

1. Jadi root pada mesin.

2. Rumuskan satu config arsip.

3. Menggambarkan di luar pagar garis perintah sesuai argumen, milikku adalah sebagai berikut: (NATd adalah tidak lagi satu port, dan kini terdistribusi dengan FreeBSD)
* /usr / sbin / natd m f / dsb. / natd.conf

* -m percobaan untuk mempertahankan consistant bandar, dan tolong hal-hal seperti RPC bekerja.

* -f menetapkan config mengarsipkan pergunakan.

4. Letakkan garis perintah ke dalam rc.local.

5. Cocokkan baris di / dsb. / rc.conf bahwa berkata gateway_enable= “TIDAK ADA” untuk
gateway_enable= “YA”

6. Atur mesin internalmu untuk mempergunakan mesin NATd sebagai satu pintu gerbang.

7. Bot ulang.

Di sini adalah natd.confku… untuk mengawali NATd pada bootup aku juga penambahan baris berikut ke / dsb. / rc.conf

natd_enable= “YA”
natd_interface= “ed0″
natd_flags=”-f / dsb. / natd.conf”

mulai natd.conf

use_sockets yes
same_ports yes
unregistered_only yes
dynamic yes

pptpalias 192.168.2.51
port 7778

interface ed0

redirect_port tcp 192.168.2.50:5800 5800
redirect_port tcp 192.168.2.50:5900 5900

natd.conf berakhir

Multiply | Panduan download MP3 di Multiply

Posted in Hiburan on Januari 16, 2008 by mand41l1nc

Panduan Download MP3 Lagu Indonesia di Multiply

  1. Daftarkan diri Anda terlebih dahulu ke Multiply.com jika belum mempunyai account di sana.
  2. Buka Google
  3. Masukkan query berikut ke dalam kotak pencarian.?inurl:multiply.com/music? [artist] [title]Ubah [artist] dengan nama artis/band/penyanyi yg Anda cari

    Ubah [title] dengan judul lagu yg Anda cari.

    Contoh:
    ?inurl:multiply.com/music? dewa
    ?inurl:multiply.com/music? dewa dewi
    ?inurl:multiply.com/music? “ada band” “haruskah ku mati”

  4. Contoh hasil pencarian:Search ResultTekan salah satu dari hasil pencarian di atas, dan hasilnya adalah sbb:MP3 List

    Jika sesuai dengan yg Anda inginkan, tekan Klik Kanan dan pilih Save As untuk menyimpan MP3 lagu tersebut.

  5. Selamat Mencoba!!

Google | Panduan download MP3

Posted in Hiburan on Januari 16, 2008 by mand41l1nc

Panduan Download MP3 Lagu Indonesia di Google

  1. Buka Google
  2. Masukkan query berikut ke dalam kotak pencarian.?intitle:index.of? mp3 [artist] [title]Ubah [artist] dengan nama artis/band/penyanyi yg Anda cari

    Ubah [title] dengan judul lagu yg Anda cari.

    Contoh:
    ?intitle:index.of? mp3 coldplay
    ?intitle:index.of? mp3 “simple plan”
    ?intitle:index.of? mp3 “simple plan” untitled
    ?intitle:index.of? mp3 “welcome to my life”

  3. Contoh hasil pencarian:Search ResultTekan salah satu dari hasil pencarian di atas, dan hasilnya adalah sbb:MP3 List

    Jika sesuai dengan yg Anda inginkan, tekan Klik Kanan dan pilih Save As untuk menyimpan MP3 lagu tersebut.

  4. Selamat mencoba!

FreeBSD | Setting up the ipfw firewall

Posted in Ruang Belajar | Ruang Research on Januari 16, 2008 by mand41l1nc

English Version

Article Description: This instructs you on what to add to your kernel and what files to modify to get the ipfw firewall working on your FreeBSD system.


These instructions will help you configure FreeBSD to act as a firewall.Note that it is almost suicidal to do this remotely, as one mistake can leave you unable to reach the firewall PC.

  • Become root on the machine.
  • IMPORTANT: Make a backup of the kernel located in the root directory.
  • You must download at least the kernel source code distribution. (/stand/sysinstall will help)
  • Make a copy of the kernel configuration file /usr/src/sys/i386/conf/GENERIC. Edit the new file and add the following lines to it:
    • options IPFIREWALL
    • options IPDIVERT

    The IPFIREWALL option allows the kernel to block or allow pass through of specific network traffic based on:

    • origin,
    • destination,
    • port number, and
    • protocol

    The IPDIVERT option allows incoming IP traffic to be diverted to a different port on the Firewall machine, allowing for redirection based on the options for the firewall option to a program listening to a port.

  • make sure you are in /usr/src/sys/i386/conf/ and type:
    • config
  • change into the directory /usr/src/sys/compile/
    file>
    then type:

    • make depend
    • make all
    • make install
  • edit the file /etc/rc.firewall and add the rules you want
  • IMPORTANT: edit /etc/rc.conf and set theoption firewall=”NO” to
    firewall=”YES”
  • reboot and everything should be fine.
  • Indonesia Version

    Uraian artikel: Ini menginstruksikan anda pada apa untuk menambahkan untuk daging buah anda dan apa mengarsipkan modifikasi untuk memperoleh ipfw firewall mengerjakan sistem FreeBSD anda.


    Arahan ini akan menolong anda mengatur FreeBSD sebagai satu firewall.

    Catatan bahwa ini adalah hampir bunuh diri untuk lakukan ini secara remote, sebagai satu kesalahan dapat meninggalkan anda untuk menjangkau PC firewall.

  • Menjadi root pada mesin.
  • PENTING: Buat satu salinan cadangan dari kernel yang ditempatkan pada direktori root.
  • Kamu harus download paling tidak distribusi program source kernel. (/stand/sysinstall will help)
  • Buat satu salinan konfigurasi kernel mengarsipkan file /usr/src/sys/i386/conf/GENERIC.Edit file baru dan menambahkan baris berikut untuknya:
    • options IPFIREWALL
    • options IPDIVERT

    The IPFIREWALL option mengijinkan kernel untuk menghalangi atau mengijinkan melalui lalu lintas jaringan yang spesifik berlandaskan:

    • asal,
    • tujuan,
    • nomor port,dan
    • protokol
  • The IPDIVERT option mengijinkan lalu lintas IP yang masuk untuk dibelokkan ke satu port berbeda pada mesin Firewall, mempertimbangkan arah ulang berlandaskan option untuk option dari firewall ke satu program mendengarkan satu port.
  • pastikan kamu berada di dalam /usr/src/sys/i386/conf/ and type:
    • config
  • ubah ke dalam direktori /usr/src/sys/compile/
    file>
    kemudian ketik:

    • make depend
    • make all
    • make install
  • edit file /etc/rc.firewall dan menambahkan ketentuan kamu mau
  • PENTING: edit /etc/rc.conf dan steloption firewall=”NO” to
    firewall=”YES”
  • bot ulang dan seharusnya tidak ada masalah/keadaan baik.