Monthly Archives: March 2012

Setup squidguard Centos 6.2


-Install squidguard & squidguard-blacklist from rpmforge repo
# yum -y --enablerepo=rpmforge install squidguard squidguard-blacklists

-Copy squidguard.cgi access denied page if you want to use it..
# cp /usr/share/doc/squidguard-1.3/squidGuard.cgi /var/www/cgi-bin/
# cp /usr/share/doc/squidguard-1.3/squidGuard-simple.cgi /var/www/cgi-bin/

Continue reading

Proxy gateway CentOS 6


I. Skenario:
Internet Router — eth0:192.168.0.11:cumi.bachem.local:eth1:192.168.10.1 — client

II. Setting Statik IP Address,DNS, etc
# system-config-network-tui

or

-Via CLI, setting ip address eth0
# cd /etc/sysconfig/network-scripts/
# vi ifcfg-eth0

DEVICE=eth0
HWADDR=32:E8:71:6C:BF:E7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=192.168.0.11
BOOTPROTO=static
NETMASK=255.255.255.0
TYPE=Ethernet
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no

 
Continue reading

Setup TP-Link TL-MR3220/3420 dengan modem Smartfren AC682


Skenario:
-Konfigurasi TP-Link dalam keadaan default
-Firmware TP-Link TL-MR3220: 3.12.8 Build 110418 Rel.43954n (Mungkin jika versi firmware lebih baru sudah support smart AC682)
-Firmware TP-Link TL-MR3420: 3.12.8 Build 110418 Rel.43954n
-Modem Smartfren AC682 yg bisa internetan

Mulai Setup:
1. Colokkan kabel LAN dari Laptop/PC ke port TP-Link LAN 1 atau port LAN yg laen, tunggu sampai dapat IP Address 192.168.1.xx (Secara default TP-Link sudah terkonfigurasi dengan DHCP Server dengan subnet 192.168.1.x/24)

2. Ketik 192.168.1.1 di browser, Login: admin dan Password: admin
Continue reading

Example Static Route CentOS 5


References:
http://www.ehowstuff.com/how-to-add-persistent-static-routes-in-centos-5-6/
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html

Skenario:
-Membuat LAN kecil(30 user) untuk user hotspot PC training dan hotspot untuk tamu.

Topologi (existing):
Proxy Squid Gateway CentOS 5:eth0:192.168.0.254 — 192.168.0.240:eth1:Mikrotik RB750:eth2:192.168.88.1 — LAN Training & Hotspot
Continue reading

Setup Hotspot Mikrotik RB750 RouterOS v5.14


Setup Hotspot User Manager di Mikrotik disini hanya sekedar catatan pribadi, menggunakan command line di terminal karena malas upload gambar ^_^
Untuk lebih mudah bisa setup hotspot lewat winbox…

Skenario:
-Router RB750: RouterOS v5.14 mispbe
-Eth1 : Internet
-Eth2 : IP Address 192.168.88.1, DHCP Server, DNS, Hotspot
-Pastikan package User Manager sudah terinstall di RB750. Via Winbox cek di System ==> Packages

1. Setup Radius

/radius add accounting-backup=no accounting-port=1813 address=127.0.0.1 authentication-port=1812 called-id="" disabled=no domain="" realm="" secret=qwerty service=hotspot timeout=300ms
/radius incoming set accept=no port=3799

Continue reading