Konfigurasi Blok Akses Di Squid Berdasarkan Mac Address

Posted: Mei 14, 2011 in Linux

Bagi yang sudah menginstal squid, maka squid anda harus sudah mengaktifkan feature enable ACLs based on ethernet address (SQUID_ARP_ACL).

r3dluv# cd /usr/local/etc/squid

r3dluv# ee squid.conf

tambahkan baris-baris dibawah ini atau sesuaikan sesuai dengan kebutuhan anda :

acl admin src 192.168.0.5

acl adminMc arp 00:0C:6E:3E:FD:B9

acl ryan src 192.168.0.93

acl ryanMc arp 00:02:3F:AF:2B:FF

http_access allow admin adminMc

http_access deny ryan ryanMc

r3dluv# /usr/local/sbin/squid –k reconfigure

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s