<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Endoet - Sick of Fake</title>
	<atom:link href="http://endoet.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://endoet.org</link>
	<description>Who have made sick like fake a people</description>
	<lastBuildDate>Wed, 24 Feb 2010 14:13:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tunneling IPv6 on FreeBSD</title>
		<link>http://endoet.org/2008/04/29/tunneling-ipv6-on-freebsd/</link>
		<comments>http://endoet.org/2008/04/29/tunneling-ipv6-on-freebsd/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 02:06:16 +0000</pubDate>
		<dc:creator>endoet</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://endoet.org/2008/04/29/tunneling-ipv6-on-freebsd/</guid>
		<description><![CDATA[Langsung saja, sebelum menggunakan tunnel ini pastikan kernel anda sudah recompile dengan options berikut ini :
 OPTIONS        INET6    #IPv6 communications protocols
OPTIONS        IPSEC     #IP Security
device           [...]]]></description>
			<content:encoded><![CDATA[<p>Langsung saja, sebelum menggunakan tunnel ini pastikan kernel anda sudah recompile dengan options berikut ini :</p>
<p><strong> OPTIONS        INET6    #IPv6 communications protocols<br />
OPTIONS        IPSEC     #IP Security<br />
device             gif              #IPv6 and IPv4 tunneling<br />
device             stf              #6to4 tunneling</strong></p>
<p>Untuk mengaktifkan fitur <strong>IPv6 </strong>di FreeBSD cukup mengedit file /etc/rc.conf dan tambahkan baris berikut :<br />
<strong><br />
ipv6_enable = &#8220;YES&#8221;</strong></p>
<p>Hal ini disebut tunneling karena harus mendefinisikan alamat <strong>IPv4 </strong>dari sisi client dan sisi <strong>ISP</strong>, Untuk keperluan 6over4 ini penyedia tunnel atau disebut juga tunnel broker. TunnelBroker yang digunakan pada pembahasan ini adalah <a href="http://www.freenet6.net" target="_blank">FreeNet6</a>. Setelah mendaftarkan diri pada TunnelBroker tersebut kita akan mendapatkan username dan password yang akan digunakan untuk Tunneling. Berikut langkah langkahnya :</p>
<p>Download aplikasi / source yang disediakan di <a href="http://www.freenet6.net" target="_blank">FreeNet6,</a> tentunya menyesuaikan dengan OS yang digunakan (dalam pembahasan ini menggunakan FreeBSD/UNIX).<span id="more-6"></span></p>
<p>Setelah itu extract file source tersebut</p>
<blockquote><p>router# tar -zxvf gw6c-5_1-RELEASE-src.tar.gz</p></blockquote>
<p>Kemudian masuk ke dalam direktori tspc-advanced, dan compile</p>
<blockquote><p>router# cd tspc-advanced</p>
<p>router# make install target=freebsd installdir=/usr/local/etc/gw6c</p></blockquote>
<p>Setelah itu buat file konfigurasinya yaitu gw6c.conf. Berikut ini adalah contoh script konfigurasi yang saya buat :</p>
<blockquote><p>userid=usernameanda<br />
passwd=passwordanda<br />
server=broker.freenet6.net<br />
auth_method=any<br />
host_type=router<br />
prefixlen=64<br />
if_prefix=fxp0<br />
dns_server=ns1.terserahanda.com<br />
gw6_dir=/usr/local/etc/gw6c<br />
auto_retry_connect=yes<br />
retry_delay=30<br />
keepalive=no<br />
keepalive_interval=30<br />
tunnel_mode=v6anyv4<br />
if_tunnel_v6v4=gif0<br />
if_tunnel_v6udpv4=tunXX<br />
if_tunnel_v4v6=gif0<br />
client_v4=auto<br />
client_v6=auto<br />
template=freebsd<br />
proxy_client=no<br />
broker_list=tsp-broker-list.txt<br />
last_server=tsp-last-server.txt<br />
always_use_same_server=no<br />
log_file=3<br />
log_filename=/var/log/gw6c.log<br />
log_rotation=yes<br />
log_rotation_size=32<br />
log_rotation_delete=no<br />
syslog_facility=USER</p></blockquote>
<p>Simpan di /usr/local/etc/gw6c.conf</p>
<p>Selesai sudah tahap konfigurasi nya. Untuk Mengaktifkannya cukup dengan perintah :</p>
<p>router# /usr/local/etc/gw6c/bin/gw6c -f /usr/local/etc/gw6c.conf<br />
Gateway6 Client v5.1-RELEASE build Apr  9 2008-16:42:18<br />
Built on ///FreeBSD router.endoet.org 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Apr 5 11:21:42 WIT 2008 root@router.endoet.org:/usr/obj/usr/src/sys/ENDOET i386///<br />
Connection to broker.freenet6.net established.</p>
<p>Tes koneksi IPv6 :</p>
<p>router# ping6 -c 3 www.kame.net<br />
PING6(56=40+8+8 bytes) 2001:5c0:8fff:fffe::859d &#8211;&gt; 2001:200:0:8002:203:47ff:fea5:3085<br />
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=0 hlim=47 time=238.812 ms<br />
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=1 hlim=47 time=234.632 ms<br />
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=2 hlim=47 time=227.346 ms</p>
<p>&#8212; www.kame.net ping6 statistics &#8212;<br />
3 packets transmitted, 3 packets received, 0.0% packet loss<br />
round-trip min/avg/max/std-dev = 227.346/233.597/238.812/4.738 ms</p>
<p>Yup, IPv6 telah terpasang. Sekarang buat script startup nya. Berikut contoh script yang saya gunakan :</p>
<p>#!/bin/sh<br />
#<br />
# $NetBSD: inetd,v 1.6 2000/09/19 13:04:38 lukem Exp $<br />
# $FreeBSD: src/etc/rc.d/inetd,v 1.5 2005/01/16 03:12:03 obrien Exp $<br />
#</p>
<p># PROVIDE: gw6c<br />
# REQUIRE: DAEMON LOGIN NETWORKING cleanvar<br />
# KEYWORD: shutdown</p>
<p>. /etc/rc.subr</p>
<p>name=&#8221;gw6c&#8221;<br />
gw6c_dir=&#8221;/usr/local/etc/gw6c&#8221;<br />
command=&#8221;/usr/local/etc/gw6c/bin/${name}&#8221;<br />
pidfile=&#8221;/var/run/${name}.pid&#8221;<br />
required_files=&#8221;/usr/local/etc/${name}.conf&#8221;<br />
start_cmd=&#8221;gw6c_start&#8221;<br />
stop_cmd=&#8221;gw6c_stop&#8221;</p>
<p>gw6c_start()<br />
{<br />
echo -n &#8216;Starting the Gateway6 Client: &#8216;<br />
cd ${gw6c_dir}/bin<br />
${command} -f ${required_files}<br />
echo &#8216;gw6c.&#8217;<br />
}</p>
<p>gw6c_stop()<br />
{<br />
echo -n &#8216;Stopping the Gateway6 Client: &#8216;<br />
pkill -HUP ${name}<br />
echo &#8216;gw6c.&#8217;<br />
}</p>
<p>run_rc_command &#8220;$1&#8243;</p>
<p># end of scripts</p>
<p>Simpan file tersebut di /usr/local/etc/rc.d/gw6c</p>
<p>Selesai sudah konfigurasi untuk tunneling IPv6 pada FreeBSD</p>
]]></content:encoded>
			<wfw:commentRss>http://endoet.org/2008/04/29/tunneling-ipv6-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Instalasi CACTI pada mesin Linux Fedora 5</title>
		<link>http://endoet.org/2008/03/25/instalasi-cacti-pada-mesin-linux-fedora-5/</link>
		<comments>http://endoet.org/2008/03/25/instalasi-cacti-pada-mesin-linux-fedora-5/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 08:07:26 +0000</pubDate>
		<dc:creator>endoet</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://endoet.org/2008/03/25/instalasi-cacti-pada-mesin-linux-fedora-5/</guid>
		<description><![CDATA[ Cacti adalah salah satu software open source (GNU General Public License) yang digunakan untuk memantau kinerja jaringan maupun komputer secara keseluruhan dan menampilkannya dalam bentuk images / grafik. Untuk lebih jelasnya silahkan lihat http://www.cacti.net/ 
Saya akan mencoba menjelaskan secara rinci bagaimana cara menginstallnya. Cara yang ditulis dibawah ini sudah dipraktekkan pada Linux Fedora Core [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postbody"> Cacti adalah salah satu software open source (GNU General Public License) yang digunakan untuk memantau kinerja jaringan maupun komputer secara keseluruhan dan menampilkannya dalam bentuk images / grafik. Untuk lebih jelasnya silahkan lihat <a href="http://www.cacti.net/" rel="nofollow" target="_blank" class="postlink">http://www.cacti.net/</a> </span></p>
<p><span class="postbody">Saya akan mencoba menjelaskan secara rinci bagaimana cara menginstallnya. Cara yang ditulis dibawah ini sudah dipraktekkan pada Linux Fedora Core 5 (Bordeaux).</span></p>
<p>Untuk langkah pertama, pastikan paket paket yang dibutuhkan oleh cacti sudah terinstall. Paket tersebut meliputi :</p>
<ol>
<li>net-snmp</li>
<li>rrdtool</li>
<li>mysql</li>
<li>php</li>
</ol>
<p>Untuk mengetahui apakah paket tersebut telah terinstall. Dapat dilakukan dengan perintah di bawah ini :</p>
<blockquote><p><span class="postbody">rpm -qa | grep &lt;namapaket&gt;</span></p></blockquote>
<p>Kalau paket tersebut belum terinstall alias nggak ada, install dengan perintah :</p>
<blockquote><p><span class="postbody">yum -y install &lt;namapaket&gt;</span><span id="more-5"></span></p></blockquote>
<p>Setelah semua paket diatas terinstall, barulah install cacti nya :</p>
<blockquote><p>[root@router:~$] yum -y install cacti</p></blockquote>
<p>Setelah cacti terinstall edit file /etc/passwd dengan menggunakan perintah <em>vipw</em> dan cari baris berikut :</p>
<blockquote><p><span class="postbody"> cacti:x:100:101::/usr/share/cacti:/sbin/nologin</span></p></blockquote>
<p>Ganti menjadi seperti berikut :</p>
<blockquote><p><span class="postbody"> cacti:x:100:101::/usr/share/cacti:/bin/bash</span></p></blockquote>
<p>Setelah itu buatkan password untuk user cacti :</p>
<blockquote><p>[root@router:~$] passwd cacti<br />
Changing password for user cacti.<br />
New UNIX password:<br />
Retype new UNIX password:<br />
passwd: all authentication tokens updated successfully.</p></blockquote>
<p><span class="postbody">Edit file berikut :</span></p>
<blockquote><p> [root@router:~$]  nano <span class="postbody">/etc/httpd/conf.d/cacti.conf  </span></p></blockquote>
<p>Ganti baris berikut ini :</p>
<blockquote><p><span class="postbody"> &lt;Directory /usr/share/cacti/&gt;<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from 127.0.0.1<br />
&lt;/Directory&gt; </span></p></blockquote>
<p>Menjadi :</p>
<blockquote><p><span class="postbody"> &lt;Directory /usr/share/cacti/&gt;<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from &lt;ip network anda&gt;<br />
&lt;/Directory&gt;  </span></p></blockquote>
<p>Setelah itu buat user database mysql yang akan digunakan cacti :</p>
<blockquote><p> [root@router:~$]  <span class="postbody">mysql -u root -p </span></p>
<p><span class="postbody"> mysql&gt; create database cactidb;<br />
mysql&gt; grant all on </span><span class="postbody">cactidb</span><span class="postbody">.* to root;<br />
mysql&gt; grant all on </span><span class="postbody">cactidb</span><span class="postbody">.* to root@localhost;<br />
mysql&gt; grant all on </span><span class="postbody">cactidb</span><span class="postbody">.* to cacti;<br />
mysql&gt; grant all on </span><span class="postbody">cactidb</span><span class="postbody">.* to cacti@localhost;<br />
mysql&gt; set password for cacti@localhost=password(&#8216;passwordshell&#8217;);<br />
mysql&gt; exit;</span></p></blockquote>
<p>Setelah itu <em>switch user</em> ke user cacti :</p>
<blockquote><p>[root@router:~$] su &#8211; cacti</p></blockquote>
<blockquote><p><span class="postbody"> bash-3.1$ cd /usr/share/doc/cacti-x.x.xy/</span></p>
<p><span class="postbody"> bash-3.1$ </span><span class="postbody">mysql -p -u cacti cactidb </span><span class="postbody">&lt; cacti.sql </span></p>
<p>Enter password:</p>
<p><span class="postbody"> bash-3.1$ exit </span></p></blockquote>
<p><span class="postbody">Ubah owner folder &#8216;/usr/share/cacti/rra&#8217; dan </span><span class="postbody">&#8216;/usr/share/cacti/</span><span class="postbody">log&#8217; :</span></p>
<blockquote><p>  [root@router:~$] <span class="postbody">chown -R cacti </span><span class="postbody">/usr/share/cacti/rra</span><span class="postbody"> </span><span class="postbody">/usr/share/cacti/</span><span class="postbody">log</span></p></blockquote>
<p>Buat crontab untuk menjalankan cacti nya :</p>
<blockquote><p> [root@router:~$] <span class="postbody">crontab -e</span></p>
<p><span class="postbody"> */5 * * * * php /usr/share/cacti/poller.php &gt; /dev/null 2&gt;&amp;1  </span></p></blockquote>
<p>Setelah semua beres, download web cacti nya lalu di ekstrak :</p>
<blockquote><p>[root@router:~$] <span class="postbody">cd /var/www/html</span></p>
<p>[root@router:~$] <span class="postbody">wget <a href="http://www.cacti.net/downloads/cacti-0.8.6j.tar.gz" rel="nofollow" target="_blank" class="postlink">http://www.cacti.net/downloads/cacti-0.8.6j.tar.gz</a></span></p>
<p>[root@router:~$] <span class="postbody">tar -zxvf </span><span class="postbody"></span><span class="postlink">cacti-0.8.6j.tar.gz</span></p>
<p>[root@router:~$] <span class="postbody">mv </span><span class="postbody"></span><span class="postlink">cacti-0.8.6 cacti<br />
</span></p></blockquote>
<p>Edit file <span class="postbody">file /usr/share/cacti/include/db.php dan /var/www/html/cacti/include/config.php </span></p>
<blockquote><p><span class="postbody"> /* make sure these values refect your actual database/host/user/password */<br />
$database_type = &#8220;mysql&#8221;;<br />
$database_default = &#8220;cactidb&#8221;;<br />
$database_hostname = &#8220;localhost&#8221;;<br />
$database_username = &#8220;cacti&#8221;;<br />
$database_password = &#8220;passwordshell&#8221;;<br />
$database_port = &#8220;3306&#8243;;  </span></p></blockquote>
<p>Langkah terakhir restart Apache :</p>
<blockquote><p>[root@router:~$] <span class="postbody">/etc/init.d/httpd restart</span></p>
<p>Stopping httpd:                                                      [  OK  ]<br />
Starting httpd:                                                       [  OK  ]</p></blockquote>
<p>Sekarang akses http://hostname/cacti/ dan ikuti langkah langkah nya. Sampai pada halaman login, masukkan username : <em>admin</em> dan password : <em>admin.</em></p>
<p>Selesai sudah instalasi cacti. Kurang lebihnya mohon maaf.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://endoet.org/2008/03/25/instalasi-cacti-pada-mesin-linux-fedora-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Monitoring Traffic Menggunakan MRTG pada Router FreeBSD</title>
		<link>http://endoet.org/2007/11/10/monitoring-traffic-menggunakan-mrtg/</link>
		<comments>http://endoet.org/2007/11/10/monitoring-traffic-menggunakan-mrtg/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 16:39:49 +0000</pubDate>
		<dc:creator>endoet</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://endoet.web.id/2007/11/10/monitoring-traffic-menggunakan-mrtg/</guid>
		<description><![CDATA[Assalamu&#8217;alaikum Wr. Wb.
Pada penulisan artikel ini saya ingin agar server yang saya manage dapat memonitor bandwidth incoming dan outgoing sehingga dapat dilihat seberapa besar bandwidth yang digunakan. Sebelum mulai silahkan anda siapkan sebungkus rokok (jika anda perokok), secangkir kopi (jika anda suka kopi &#8230;  ~) .
Pastikan juga bahwa Apache Web Server sudah terinstall dengan [...]]]></description>
			<content:encoded><![CDATA[<p>Assalamu&#8217;alaikum Wr. Wb.</p>
<p>Pada penulisan artikel ini saya ingin agar server yang saya manage dapat memonitor bandwidth incoming dan outgoing sehingga dapat dilihat seberapa besar bandwidth yang digunakan. Sebelum mulai silahkan anda siapkan sebungkus rokok (jika anda perokok), secangkir kopi (jika anda suka kopi &#8230; <img src='http://endoet.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ~) .</p>
<p>Pastikan juga bahwa Apache Web Server sudah terinstall dengan baik. Dalam penulisan ini versi Apache yang saya gunakan adalah Apache 2.2.4.</p>
<p>Langkah pertama  yang harus dilakukan adalah install SNMP.</p>
<p>SNMP (Simple Network Management Protocol) adalah protokol manajemen jaringan yang banyak digunakan pada jaringan berbasis TCP/IP. SNMP merupakan protokol standard industri yang digunakan untuk memonitor dan mengelola berbagai perangkat di jaringan Internet meliputi hub, router, switch, workstation dan sistem manajemen jaringan secara jarak jauh (remote).</p>
<p>Untuk instalasinya cukup mudah yaitu menggunakan ports karena cukup cepat dan simple.<span id="more-4"></span></p>
<blockquote><p> [root@ns1 ~]# cd /usr/ports/net-mgmt/net-snmp4</p>
<p>[root@ns1 /usr/ports/net-mgmt/net-snmp4]# make install clean</p></blockquote>
<p>Jalankan Services SNMP</p>
<blockquote><p>[root@ns1 ~]# /usr/local/sbin/snmpd</p></blockquote>
<p>Untuk mengecek apakah services SNMP sudah run di dalam mesin FreeBSD nya dapat menggunakan snmpwalk</p>
<blockquote><p>[root@ns1 ~]# snmpwalk localhost public system<br />
system.sysDescr.0 = FreeBSD ns1.somewhere.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Mar 22 00:12:54 WIT 2007     root@ns1.somewhere.com:/usr/obj/usr/src/sys/ENDOET i386<br />
system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.unknown<br />
system.sysUpTime.0 = Timeticks: (413200709) 47 days, 19:46:47.09<br />
system.sysContact.0 = root@ns1.somewhere.com<br />
system.sysName.0 = ns1.somewhere.com<br />
system.sysLocation.0 = Unknown<br />
system.sysORLastChange.0 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORID.1 = OID: ifMIB<br />
system.sysORTable.sysOREntry.sysORID.2 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB<br />
system.sysORTable.sysOREntry.sysORID.3 = OID: tcpMIB<br />
system.sysORTable.sysOREntry.sysORID.4 = OID: ip<br />
system.sysORTable.sysOREntry.sysORID.5 = OID: udpMIB<br />
system.sysORTable.sysOREntry.sysORID.6 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpVacmMIB.vacmMIBConformance.vacmMIBGroups.vacmBasicGroup<br />
system.sysORTable.sysOREntry.sysORID.7 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpFrameworkMIB.snmpFrameworkMIBConformance.snmpFrameworkMIBCompliances.snmpFrameworkMIBCompliance<br />
system.sysORTable.sysOREntry.sysORID.8 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpMPDMIB.snmpMPDMIBConformance.snmpMPDMIBCompliances.snmpMPDCompliance<br />
system.sysORTable.sysOREntry.sysORID.9 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpUsmMIB.usmMIBConformance.usmMIBCompliances.usmMIBCompliance<br />
system.sysORTable.sysOREntry.sysORDescr.1 = The MIB module to describe generic objects for network interface sub-layers<br />
system.sysORTable.sysOREntry.sysORDescr.2 = The MIB module for SNMPv2 entities<br />
system.sysORTable.sysOREntry.sysORDescr.3 = The MIB module for managing TCP implementations<br />
system.sysORTable.sysOREntry.sysORDescr.4 = The MIB module for managing IP and ICMP implementations<br />
system.sysORTable.sysOREntry.sysORDescr.5 = The MIB module for managing UDP implementations<br />
system.sysORTable.sysOREntry.sysORDescr.6 = View-based Access Control Model for SNMP.<br />
system.sysORTable.sysOREntry.sysORDescr.7 = The SNMP Management Architecture MIB.<br />
system.sysORTable.sysOREntry.sysORDescr.8 = The MIB for Message Processing and Dispatching.<br />
system.sysORTable.sysOREntry.sysORDescr.9 = The management information definitions for the SNMP User-based Security Model.<br />
system.sysORTable.sysOREntry.sysORUpTime.1 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.2 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.3 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.4 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.5 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.6 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.7 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.8 = Timeticks: (0) 0:00:00.00<br />
system.sysORTable.sysOREntry.sysORUpTime.9 = Timeticks: (0) 0:00:00.00</p></blockquote>
<p>Kemudian masukkan baris berikut ke dalam rc.conf agar services SNMP di load pada saat booting</p>
<blockquote><p>snmpd_enable=&#8221;YES&#8221;<br />
snmptrapd_enable=&#8221;YES&#8221;<br />
snmptrapd_flags=&#8221;-a -p /var/run/snmptrapd.pid&#8221;</p></blockquote>
<p>Selesai sudah instalasi SNMP pada mesin FreeBSD. Cukup mudah kan ?</p>
<p>Langkah kedua yaitu install MRTG nya. Seperti biasa saya menggunakan ports juga untuk install nya</p>
<blockquote><p> [root@ns1 ~]# cd /usr/ports/net-mgmt/mrtg</p>
<p>[root@ns1 /usr/ports/net-mgmt/mrtg]# make install clean</p></blockquote>
<p>Yap. Selesai sudah installasi MRTG nya. Tinggal membuat file konfigurasi nya.</p>
<p>Untuk membuat file konfigurasinya cukup mudah. Dengan menggunakan cfgmaker maka file konfigurasi MRTG akan ter create secara otomatis.</p>
<blockquote><p> [root@ns1 ~]# /usr/local/bin/cfgmaker &#8211;global &#8216;WorkDir: /usr/local/www/apache22/data/mrtg &#8211;global &#8216;Options[_]:growright,bits&#8217; &#8211;output /usr/local/www/apache22/data/mrtg/cfg/mrtg.cfg public@localhost</p></blockquote>
<p>Untuk menambahkan Interface IP Address yang akan dimonitor, misalnya saya akan memonitor IP Address 192.168.1.1, jalankan perintah berikut ini</p>
<blockquote><p> [root@ns1 ~]# /usr/local/bin/cfgmaker public@192.168.1.1 &gt;&gt; /usr/local/www/apache22/data/mrtg/cfg/mrtg.cfg</p></blockquote>
<p>Setelah langkah di atas dilakukan, sekarang membuat halaman index.html pada MRTG dengan menggunakan indexmaker</p>
<blockquote><p>[root@ns1 ~]# /usr/local/bin/indexmaker &#8211;output /usr/local/www/apache22/data/mrtg/index.html /usr/local/www/apache22/data/mrtg/cfg/mrtg.cfg</p></blockquote>
<p>Setelah itu run MRTG untuk pertama kalinya dengan perintah berikut</p>
<blockquote><p>[root@ns1 ~]# /usr/local/bin/mrtg /usr/local/www/apache22/data/mrtg/cfg/mrtg.cfg</p></blockquote>
<p>Pada saat pertama kali running, akan tampil pesan error. Abaikan saja. Kemudian untuk eksekusi berikutnya cukup masukkan baris berikut ke dalam cronjobs</p>
<blockquote><p>0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/mrtg /usr/local/www/apache22/data/mrtg/cfg/mrtg.cfg</p></blockquote>
<p>Selesai sudah instalasi MRTG pada server FreeBSD.  Coba buka hasil dari instalasi MRTG nya dengan url http://192.168.1.1/mrtg/ melalui web browser. Nah, sudah berhasil kah?</p>
<p>Demikian artikel ini saya buat untuk memajukan FreeBSD di Indonesia ini, kurang lebihnya saya mohon maaf.</p>
<p>Wassalamu&#8217;alaikum Wr. Wb.</p>
<blockquote></blockquote>
<blockquote></blockquote>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://endoet.org/2007/11/10/monitoring-traffic-menggunakan-mrtg/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Load Balancing Dual ADSL Connection di Satu Router</title>
		<link>http://endoet.org/2007/11/06/load-balancing-dual-adsl-connection-di-satu-router/</link>
		<comments>http://endoet.org/2007/11/06/load-balancing-dual-adsl-connection-di-satu-router/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 16:29:23 +0000</pubDate>
		<dc:creator>endoet</dc:creator>
				<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://endoet.web.id/2007/11/06/load-balancing-dual-adsl-connection-di-satu-router/</guid>
		<description><![CDATA[Berikut ini contoh load balance yang saya terapkan pada mesin OpenBSD sebagai NAT router, interface ethernet yang digunakan yaitu fxp0 dan fxp1 dengan dua koneksi ADSL Telkom Speedy.  
Aktifkan tcp forwarding di mesin BSD anda dengan command : 
sysctl -w net.inet.ip.forwarding=1
       dan edit di /etc/sysctl.conf agar tetap tereksekusi [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="SV">Berikut ini contoh load balance yang saya terapkan pada </span><span lang="SV"></span><span lang="SV">mesin </span><span lang="SV">OpenBSD sebagai NAT </span><span lang="SV">router</span><span lang="SV">, interface ethernet yang digunakan yaitu fxp0 dan fxp1</span><span lang="SV"> dengan dua koneksi ADSL Telkom Speedy.  <o:p></o:p></span></p>
<p><span lang="SV">Aktifkan tcp forwarding di mesin BSD anda dengan command : <o:p></o:p></span></p>
<blockquote><p>sysctl -w net.inet.ip.forwarding=1</p></blockquote>
<p style="margin-left: 9pt">       dan edit di <code><span style="font-size: 10pt">/etc/sysctl.conf </span></code>agar tetap tereksekusi pada saat router reboot<code><span style="font-family: 'Times New Roman'"><br />
</span></code></p>
<blockquote><p>net.inet.ip.forwarding=1</p></blockquote>
<p>Pastikan konfigurasi interface ethernet dan default routingnya kosong, hanya filename saja</p>
<blockquote><p># /etc/hosts.fxp0</p>
<p># /etc/hosts.fxp1</p>
<p># /etc/hostname.fxp0</p>
<p># /etc/hostnamefxp1</p>
<p># /etc/mygate</p></blockquote>
<pre></pre>
<p>Berikut ini contoh script koneksi ADSL Telkom Speedy pada PPP, <code><span style="font-size: 10pt">pppoe0</span></code> untuk koneksi pertama dan <code><span style="font-size: 10pt">pppoe1</span></code> untuk koneksi kedua. <span lang="SV">Sesuaikan interface, username dan passwordnya.</span><span id="more-3"></span></p>
<blockquote><p># /etc/ppp/ppp.conf</p>
<p>default:</p>
<blockquote><p><span>        </span>set log Phase Chat LCP IPCP CCP tun command</p>
<p><span>        </span>set redial 15 0</p>
<p><span>        </span>set reconnect 15 10000</p></blockquote>
<p>pppoe0:</p>
<blockquote><p><span>        </span>set device &#8220;!/usr/sbin/pppoe -i fxp0&#8243;</p>
<p><span>        </span>disable acfcomp protocomp</p>
<p><span>        </span>deny acfcomp</p>
<p><span>        </span>set mtu max 1492</p>
<p><span>        </span>set mru max 1492</p>
<p><span>        </span>set crtscts off</p>
<p><span>        </span>set speed sync</p>
<p><span>        </span>enable lqr</p>
<p><span>        </span>set lqrperiod 5</p>
<p><span>        </span>set cd 5</p>
<p><span>        </span>set dial</p>
<p><span>        </span>set login</p>
<p><span>        </span>set timeout 0</p>
<p><span>        </span>set authname usernamespeedy1@telkom.net</p>
<p><span>        </span>set authkey passwordspeedy1</p>
<p><span>        </span>add! default HISADDR</p>
<p><span>        </span>enable dns</p>
<p><span>        </span>enable mssfixup</p></blockquote>
<p>pppoe1:</p>
<blockquote><p><span>        </span>set device &#8220;!/usr/sbin/pppoe -i fxp1&#8243;</p>
<p><span>        </span>disable acfcomp protocomp</p>
<p><span>        </span>deny acfcomp</p>
<p><span>        </span>set mtu max 1492</p>
<p><span>        </span>set mru max 1492</p>
<p><span>        </span>set crtscts off</p>
<p><span>        </span>set speed sync</p>
<p><span>        </span>enable lqr</p>
<p><span>        </span>set lqrperiod 5</p>
<p><span>        </span>set cd 5</p>
<p><span>        </span>set dial</p>
<p><span>        </span>set login</p>
<p><span>        </span>set timeout 0</p>
<p><span>        </span>set authname usernamespeedy2@telkom.net</p>
<p><span>        </span>set authkey passwordspeedy2</p>
<p><span>        </span>add! default HISADDR</p>
<p><span>        </span><span lang="SV">enable dns<o:p></o:p></span></p>
<p><span lang="SV"><span>        </span>enable mssfixup</span></p></blockquote>
</blockquote>
<p><span lang="SV">Aktifkan interface </span><code><span style="font-size: 10pt" lang="SV">fxp0</span></code><span lang="SV"> dan </span><code><span style="font-size: 10pt" lang="SV">fxp1 </span></code><span lang="SV">pada mesin router</span></p>
<blockquote><p># ifconfig fxp0 up</p>
<p># ifconfig fxp1 up</p></blockquote>
<p>Jalankan PPPoE, Point to Point Protocol over Ethernet.</p>
<blockquote><p><span lang="SV"># ppp -ddial pppoe0<o:p></o:p></span></p>
<p><span lang="SV"># ppp -ddial pppoe1</span></p></blockquote>
<p>Jika dial koneksi ADSL Telkom Speedy berhasil,  maka IP Address dari ADSL Telkom Speedy akan di Binding di dalam interface tunneling <code><span style="font-size: 10pt" lang="SV">tun0</span></code><span lang="SV"> dan </span><code><span style="font-size: 10pt" lang="SV">tun1</span></code></p>
<blockquote><p># ifconfig</p>
<p>tun0: flags=8051 mtu 1492</p>
<p><span>        </span>groups: tun egress</p>
<p><span>        </span>inet 125.xxx.xxx.234 -&gt; 125.163.72.1 netmask 0xffffffff</p>
<p>tun1: flags=8051 mtu 1492</p>
<p><span>        </span>groups: tun</p>
<p><span>        </span>inet 125.xxx.xxx.235 -&gt; 125.163.72.1 netmask 0xffffffff</p></blockquote>
<p>Default gateway akan otomatis aktif dan terisi</p>
<blockquote><p><span lang="SV"># netstat -nr<o:p></o:p></span></p>
<p>Routing tables</p>
<p>Internet:</p>
<p>Destination<span>        </span>Gateway<span>          </span>Flags<span>    </span>Refs<span>      </span>Use<span>    </span>Mtu<span>  </span>Interface</p>
<p>default<span>            </span>125.163.72.1<span>       </span>UGS<span>         </span>5<span>    </span>18347<span>      </span>-<span>      </span>tun0</p></blockquote>
<p>Konfigurasi DNS server pada file /etc/resolv.conf akan otomatis terisi</p>
<blockquote><p># cat /etc/resolv.conf</p>
<p>nameserver 202.134.2.5</p>
<p>nameserver 203.130.196.5</p></blockquote>
<p>Untuk load balancing nya saya menggunakan OpenBSD Packet Filter (pf). Aktifkan PacketFirewall pf.</p>
<blockquote><p># /etc/rc.conf</p>
<p><span style="font-size: 12pt; font-family: 'Times New Roman'">pf=&#8221;YES&#8221;</span></p></blockquote>
<p>Script Packet Firewall NAT dan balancing menggunakan round-robin (atau bisa diganti dengan loadbalance jika lebih sesuai dengan kebutuhan).</p>
<blockquote><p># /etc/pf.conf</p>
<p>lan_net = &#8220;192.168.0.0/24&#8243;</p>
<p>int_if<span>  </span>= &#8220;em0&#8243;</p>
<p>ext_if1 = &#8220;tun0&#8243;</p>
<p>ext_if2 = &#8220;tun1&#8243;</p>
<p>ext_gw1 = &#8220;125.163.72.1&#8243;</p>
<p>ext_gw2 = &#8220;125.163.72.1&#8243;</p>
<p># scrub all</p>
<p>scrub in all</p>
<p># nat outgoing connections on each internet interface</p>
<p>nat on $ext_if1 from $lan_net to any -&gt; ($ext_if1)</p>
<p>nat on $ext_if2 from $lan_net to any -&gt; ($ext_if2)</p>
<p># pass all outgoing packets on internal interface</p>
<p>pass out on $int_if from any to $lan_net</p>
<p># pass in quick any packets destined for the gateway itself</p>
<p>pass in quick on $int_if from $lan_net to $int_if</p>
<p># load balance outgoing tcp traffic from internal network.</p>
<p>pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2 \ $ext_gw2) } \ round-robin proto tcp from $lan_net to any flags S/SA \ modulate state</p>
<p># load balance outgoing udp and icmp traffic from internal network</p>
<p>pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2 \ ext_gw2) } \ round-robin proto { udp, icmp } from $lan_net to any keep state</p>
<p># general &#8220;pass out&#8221; rules for external interfaces</p>
<p>pass out on $ext_if1 proto tcp from any to any flags S/SA modulate state</p>
<p>pass out on $ext_if1 proto { udp, icmp } from any to any keep state</p>
<p>pass out on $ext_if2 proto tcp from any to any flags S/SA modulate state</p>
<p>pass out on $ext_if2 proto { udp, icmp } from any to any keep state</p></blockquote>
<blockquote></blockquote>
<p>Setelah itu restart pf rules dengan perintah</p>
<blockquote><p># pfctl -f /etc/pf.conf</p></blockquote>
<p>Masukkan baris berikut ke dalam /etc/rc.local agar setiap router restart / reboot akan otomatis menjalankan PPPoE.</p>
<blockquote><p># /etc/rc.local</p>
<p>ppp -ddial pppoe0</p>
<p>ppp -ddial pppoe1</p></blockquote>
<p>Untuk membunuh / merestart koneksi ADSL,  PPPoE harus dimatikan terlebih dahulu</p>
<blockquote><p>#  pkill ppp</p></blockquote>
<p>Fungsi NAT Pool round-robin dapat dipantau menggunakan pftop yang dapat diambil di <a href="http://www.eee.metu.edu.tr/~canacar/pftop/" title="pftop" target="_blank">sini</a>.<a href="http://www.eee.metu.edu.tr/%7Ecanacar/pftop/"><span lang="SV"></span></a><span style="font-size: 12pt; font-family: 'Times New Roman'"><a href="http://www.eee.metu.edu.tr/%7Ecanacar/pftop/"><span lang="SV"></span></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://endoet.org/2007/11/06/load-balancing-dual-adsl-connection-di-satu-router/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mengamankan Mikrotik Router dengan Firewall</title>
		<link>http://endoet.org/2007/11/05/mengamankan-router-mikrotik-dengan-firewall/</link>
		<comments>http://endoet.org/2007/11/05/mengamankan-router-mikrotik-dengan-firewall/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 15:54:11 +0000</pubDate>
		<dc:creator>endoet</dc:creator>
				<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://endoet.web.id/?p=1</guid>
		<description><![CDATA[Untuk mengamankan router mikrotik dari serangan orang orang yang tidak bertanggung jawab, traffic virus dan excess ping, berikut ini langkah-langkah yang harus dilakukan : 
Pertama kita buat address-list &#8220;trusted-network&#8221; yang berisi alamat IP yang berhak mengakses router dan masuk dalam kategori “Trusted Network”.
Dalam contoh berikut ini, saya menggunakan IP lokal network / LAN 192.168.1.0/24. Dan [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="SV">Untuk mengamankan router mikrotik dari serangan orang orang yang tidak bertanggung jawab, traffic virus dan excess ping, berikut ini langkah-langkah yang harus dilakukan : <o:p></o:p></span></p>
<p><span lang="SV">Pertama kita buat address-list &#8220;trusted-network&#8221; yang berisi alamat IP yang berhak mengakses router dan masuk dalam kategori “Trusted Network”.<o:p></o:p></span></p>
<p><span lang="SV">Dalam contoh berikut ini, saya menggunakan IP lokal network / LAN 192.168.1.0/24. Dan IP public 202.152.x.x dari akses internet rumah saya. Anda bisa menambahkan list IP tersebut agar dapat mengakses routernya.</span></p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall address-list add list=trusted-network address=192.168.1.0/24 comment=&#8221;Trusted Network&#8221; disabled=no</span></strong><strong><span style="font-size: 10pt; font-weight: normal"><span></span></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall address-list add list=trusted-network address=202.152.x.x/24 comment=&#8221;Trusted Network&#8221; disabled=no</span></strong><strong><span style="font-size: 10pt; font-weight: normal"><span></span></span></strong></p>
<p><strong><span style="font-size: 10pt; font-weight: normal"></span></strong><span id="more-1"></span></p></blockquote>
<p>Selanjutnya buat chain virus agar port-port yang sering      dimanfaatkan virus di blok sehingga traffic virus tidak dapat dilewatkan,      tetapi perlu diperhatikan jika ada user yang kesulitan mengakses service      tertentu apakah port yang      dibutuhkan user tersebut terblok oleh firewall.</p>
<blockquote><p><strong><strong><span style="font-size: 12pt"></span></strong><span style="font-size: 12pt; font-family: 'Times New Roman'"></span></strong><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=forward connection-state=established action=accept comment=&#8221;Allow </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Established Connections&#8221; disabled=no</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal"></span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"><!--[if !supportLineBreakNewLine]--></span></strong><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=forward connection-state=related action=accept comment=&#8221;Allow </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Related Connections&#8221; disabled=no </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"><br />
<!--[endif]--></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter  </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=udp dst-port=135-139 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Messenger Worm&#8221; disabled=no </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter  </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=forward connection-state=invalid action=drop comment=&#8221;Drop Invalid </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Connections&#8221; disabled=no </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"><br />
<!--[endif]--></span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=135-139 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong><strong><span style="font-size: 8pt; font-weight: normal">Blaster Worm&#8221; disabled=no</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal"> </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"><!--[if !supportLineBreakNewLine]--><!--[endif]--></span></strong><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1433-1434 action=drop comment=&#8221;Worm&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter  </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=445 action=drop comment=&#8221;Drop Blaster </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Worm&#8221; disabled=no </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=udp dst-port=445 action=drop comment=&#8221;Drop Blaster </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Worm&#8221; disabled=no</span></strong><strong><span style="font-size: 8pt; font-weight: normal">  </span></strong><strong><span style="font-size: 8pt; font-family: 'Times New Roman'"></span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter  </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=593 action=drop comment=&#8221;________&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1024-1030 action=drop comment=&#8221;________&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1080 action=drop comment=&#8221;Drop MyDoom&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1214 action=drop comment=&#8221;________&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong><strong><span style="font-size: 8pt; font-weight: normal">   </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1363 action=drop comment=&#8221;NDM Requester&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1364 action=drop comment=&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal">NDM </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Server&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1368 action=drop comment=&#8221;Screen Cast&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1373 action=drop comment=&#8221;Hromgrafx&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=1377 action=drop comment=&#8221;Cichlid&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=2745 action=drop comment=&#8221;Bagle Virus&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=2283 action=drop comment=&#8221;Drop Dumaru.Y&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=2535 action=drop comment=&#8221;Drop Beagle&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=2745 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> Beagle.C-K&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=3127 action=drop comment=&#8221;Drop MyDoom&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=3410 action=drop comment=&#8221;Drop Backdoor </span></strong><strong><span style="font-size: 8pt; font-weight: normal">OptixPro&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=4444 action=drop comment=&#8221;Worm&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=udp dst-port=4444 action=drop comment=&#8221;Worm&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=5554 action=drop comment=&#8221;Drop Sasser&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=8866 action=drop comment=&#8221;Drop Beagle.B&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=9898 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> Dabber.A-B&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=10000 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> Dumaru.Y, sebaiknya disable karena juga sering digunakan utk vpn / </span></strong><strong><span style="font-size: 8pt; font-weight: normal">webmin&#8221; disabled=yes </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=10080 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal"> MyDoom.B&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=12345 action=drop comment=&#8221;Drop NetBus&#8221;</span></strong><strong><span style="font-size: 8pt; font-weight: normal"> disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=17300 action=drop comment=&#8221;Drop Kuang2&#8243; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=27374 action=drop comment=&#8221;Drop </span></strong><strong><span style="font-size: 8pt; font-weight: normal">SubSeven&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=virus protocol=tcp dst-port=65506 action=drop comment=&#8221;Drop PhatBot, </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Agobot, Gaobot&#8221; disabled=no</span></strong></p></blockquote>
<p>Jump semua paket yang melewati router ke dalam virus chain</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=forward action=jump jump-target=virus comment=&#8221;Jump to The Virus </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Chain&#8221; disabled=no</span></strong></p></blockquote>
<p>Accept Established and Related Connection</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input connection-state=established action=accept  comment=&#8221;Accept </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Established Connections&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input connection-state=related action=accept comment=&#8221;Accept Related </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Connections&#8221; disabled=no</span></strong></p></blockquote>
<p>Drop Invalid Connection</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input connection-state=invalid action=drop comment=&#8221;Drop Invalid </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Connections&#8221; disabled=no</span></strong></p></blockquote>
<p>Accept UDP Connection, Limited Pings and Drop Excess Ping</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=udp action=accept comment=&#8221;UDP&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=icmp limit=50/5s,2 action=accept comment=&#8221;Allow </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Limited Pings&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=icmp action=drop comment=&#8221;Drop Excess Pings&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no</span></strong></p></blockquote>
<p>Allow Input Connection From Trusted Networks</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=21 src-address-list=trusted-network </span></strong><strong><span style="font-size: 8pt; font-weight: normal">action=accept comment=&#8221;FTP&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=22 src-address-list=trusted-network </span></strong><strong><span style="font-size: 8pt; font-weight: normal">action=accept comment=&#8221;SSH for Secure Shell&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=23 src-address-list=trusted-network </span></strong><strong><span style="font-size: 8pt; font-weight: normal">action=accept comment=&#8221;Telnet&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=80 src-address-list=trusted-network </span></strong><strong><span style="font-size: 8pt; font-weight: normal">action=accept comment=&#8221;Web&#8221; disabled=no</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=8291 src-address-list=</span></strong><strong><span style="font-size: 8pt; font-weight: normal">trusted-network </span></strong><strong><span style="font-size: 8pt; font-weight: normal">action=accept comment=&#8221;Winbox&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input protocol=tcp dst-port=1723 action=accept comment=&#8221;pptp-server&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no<br />
</span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input src-address-list=trusted-network action=accept comment=&#8221;From Trusted Network&#8221; </span></strong><strong><span style="font-size: 8pt; font-weight: normal">disabled=no </span></strong></p></blockquote>
<p>Log All and Drop Everything Else</p>
<blockquote><p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input action=log log-prefix=&#8221;DROP INPUT&#8221; comment=&#8221;Log Everything </span></strong><strong><span style="font-size: 8pt; font-weight: normal">Else&#8221; disabled=no </span></strong></p>
<p><strong><span style="font-size: 8pt; font-weight: normal">/ip firewall filter </span></strong><strong><span style="font-size: 8pt; font-weight: normal">add chain=input action=drop comment=&#8221;Drop Everything Else&#8221; disabled=no</span></strong></p></blockquote>
<p>Dengan Firewall diatas maka :</p>
<ol>
<li class="MsoNormal">Router hanya dapat diakses service FTP, SSH, Web dan Winbox dari IP      yang telah didefinisikan dalam address-list &#8220;trusted-network&#8221;.</li>
<li class="MsoNormal">Port-port yang sering      dimanfaatkan oleh virus di blok oleh Router sehingga traffic virus tidak dapat melewati Router,      tetapi perlu diperhatikan jika ada user yang mengakses service      tertentu harus dicek pada chain=&#8221;virus&#8221; apakah port yang      dibutuhkan user tersebut terblok oleh firewall atau tidak.</li>
<li class="MsoNormal">Ping Request dibatasi untuk      menghindari excess ping.</li>
</ol>
<p>NB : Perlu diperhatikan bahwa default user dari mikrotik ini adalah admin. Untuk lebih safe nya, buat user baru dan password dengan group full kemudian disable user admin, hal ini untuk meminimasi resiko router mikrotik di hack orang.<o:p></o:p></p>
<blockquote></blockquote>
<blockquote><p><strong><span style="font-size: 10pt; font-family: 'Times New Roman'"><!--[endif]--></span></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://endoet.org/2007/11/05/mengamankan-router-mikrotik-dengan-firewall/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
