Your SlideShare is downloading. ×
Onfigurasi mikrotikdansquidproxyubuntusejajarclient
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Onfigurasi mikrotikdansquidproxyubuntusejajarclient

238
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
238
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
30
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Konfigurasi Mikrotik dan Squid Proxy Ubuntu Sejajar ClientTopologi Jaringan and HardwareHardware :- Kabel LAN- Modem ADSL- Mikrotik RB750- PC Ubuntu Squid Proxy- Switch- PC ClientKoneksi port :Port 1 di MT RB750 > port LAN di ModemPort 2 di MT RB750 > port SwitchPort eth0 di Ubuntu Squid > port SwitchKonfigurasi JaringanIP Squid : 192.168.0.4/24IP Client : 192.168.0.0/24IP Modem : 192.168.1.1/24IP MT RB750 : 192.168.0.1/24
  • 2. Konfigurasi Squid di Ubuntu 10.4Install Squid di ubuntu- masuk ke terminal- ketik sudo su , isi password ubuntu anda- ketik sudo apt-get update- ketik sudo apt-get install squid- Do you want continue [Y] Y- apt-get install squid squidclient squid-cgi- apt-get install cczeMembuat Directory cache- mkdir /cache1 && mkdir /cache2 && mkdir /cache3 && mkdir /cache4- touch /var/log/squid/access.log- touch /var/log/squid/cache.logMengaktifkan directory cache- chown -R proxy.proxy /cache1- chown -R proxy.proxy /cache2- chown -R proxy.proxy /cache3- chown -R proxy.proxy /cache4- chown -R proxy.proxy /var/log/squid/access.logEdit Squid.conf- gedit /etc/squid/squid.confSilahkan download file Squid.conf disini (sesuaikan dengan jaringan,memory,hdd dari PC Proxy anda)Pengecekan file Squid.conf- squid -k parsemembuat direktori swap- squid -z- squid -DFYcek squid apakah sudah berfungsi- ps -ax|grep squidReboot Ubuntu SquidJalankan perintah terakhir di terminaliptables -t nat -A POSROUTING -j MASQUERADE
  • 3. Konfigurasi Tambahan di Mikrotik/ip firewall nat chain=dstnat in-interface=ToSwitch src-address=!192.168.0.4 protocol=tcp dst-port=80action=dst-nat to-addresses=192.168.0.4 to-ports=8080/ip firewall nat chain=srcnat out-interface=ToSwitch src-address=192.168.0.0/24 protocol=tcpaction=src-nat to-addresses=192.168.0.1 to-ports=0-65535Cek Apakah anda sudah terkoneksi dengan ProxyBuka Browser dan masuk ke http://www.lagado.com/proxy-test