Category Archives: Inf. Tech

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

Setup sync time Windows Server 2008 R2 with external NTP server

Note:
a) Time synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets his time from the domain’s PDC Operation Master. Therefore the PDC must synchronize his time from an external source.
b) Don’t forget to open the default UDP 123 port for time sync on your firewall.
c) The time service will not change the system time by more than 172800 seconds. Verify that your time and time zone are correct.

Locate your PDC Server. Open the command prompt and type:
C:>netdom /query fsmo

Log in to your PDC Server and open the command prompt.Stop the W32Time service:
C:>net stop w32time

Configure the external time sources, type:
C:>w32tm /config /syncfromflags:manual /manualpeerlist:"time.windows.com"

Make your PDC a reliable time source for the clients. Type:
C:>w32tm /config /reliable:yes

Start the w32time service:
C:>net start w32time

– The windows time service should begin synchronizing the time.
You can check the external NTP servers in the time configuration by typing:

C:>w32tm /query /configuration

– Last, check the Event Viewer for any errors.

If time not change, try manual resync by Run C:>w32tm /resync to force an instant time synchronization.

windows-server-sync-time

References:
> http://defaultreasoning.com/2009/11/16/synchronize-time-with-external-ntp-server-on-windows-server-2008-r2/
> https://community.spiceworks.com/topic/222484-how-do-i-sync-the-time-on-win-server-2008-r2-with-the-internet