nama = muhamad anwar konfigurasi proxy tanggal =11-09-2014
kelas =XII tkj 1 server dengan ubuntu sk/sd
jobsheet =004 guru = bpk maman.h
tujuan
konfigurasi proxy dengan ubuntu
pendahuluan
asalamualaikum wr.wb disini saya akan menjelaskan bagaimana cara konfigurasi proxy server dengan ubuntu
alat dan bahan
-laptop -windows xp
-ubuntu desktop -koneksi internet
langkah kerja
sebelum melakukan setting proxy server , ada beberapa hal yang harus anda lakukan yaitu
1) menginstall aplikasi squid3
2) membuat konfigurasi squid3,conf pada direcroty /etc/squid3.conf
3) membuat konfigurasi situs x /etc/squid3/situsx
4) membuat folder/cache
5) restart service
1) install squid
-copykan file squid3 pada desktop
-root : - dpkg-i /desktop/sqquid3.deb
-pastikan squid3 terinstall dengan sempurna
2) edit file "squid.conf"
a.cd/etc/squid3
b.nano squid3.conf
bagian bagian yang harus di edit dan ditambah pada file proxy .transparent proxy dan web filter hapus semua data pada squid.conf dan masukan data dibawah ini
http-port 3128 transparent
cache-efective-user proxy
cache-efective-group proxy
visable-hostname www.pranindo.ac.id
cache-dir ufs /cache 200 16 256
acl manager ploto cache-object
acl lan src 192.168.50.0/24
acl situsx dstdomain /etc/squid3/situsx
http_access deny situsx
http_access allow lan
http_access deny all
3) masukan transparent proxy
ketik :
iptables -A PREROUTING -t nat -p tcp -dport 80-j REDIRECT -to port 3128
4) agar iptables tetap berjalan pada saat komputer restart tambahkan perintah ip tables pada file rc.local untuk konfigurasi transparent proxy semua client dipaksa masuk ke port 3128
nano /etc/rc.local
kemudian buat file situsx
isi situsx atau alamat yang ingin diblok
www.facebook.com
www.youtube.com
setelah selesai simpan hasil konfgurasi buat folder cache untuk proxy
root : mkdir /cache squid3
sekarang coba jalankan squid3 dan lihat hasil konfigurasi iptables kita
root : etc/init.d/squid3.restart
root : iptables -l -t nat
Selasa, 18 November 2014
bagaimana dengan konfigurasi routing static pada topology berikut ini saya aka menjelaskan cara konfigurasi routing static pada router gateway dihubungkan dengan menggunakan swich pada network 10.10.10.0/29
ng anda untuk mengkonfigurasi routing static pada router gateway maka perintah yang anda gunakan sebagai berikut :
> ip rooute add dst-address=192.168.2.0/24 gateway = 10.10.10.2
>ip route print
>ip route add dst-address=192.168.1.0/24 gateway=10.10.10.1
> ip route print
jaringan tersebut akan digunakan untuk mengakses internet anda harus melakukan konfigurasi routing static menuju internet pada setiap router internet merupakan kumpulan jutaan ip address ,sehingga tidak untuk melakukan konfigurasi static ke internet maka anda dapat menggunakan ip address 0.0.0.0/0
perintah static routing untuk menuju internet pada masing masing router sebagai berikut :
> ip route add dst-address=0.0.0.0/0 gateway=10.10.10.6
> ip route add dst-address=0.0.0.0/0 gateway=10.10.10.6
perintahkan bahwa router gateway yang harus menggunakan 60.1.1.1 yang merupakan isp untuk menuju internet , sedangkan r1 harus menggunakan 10.10.10.6 yang merupakan interfaces ether2 dari router gateway untuk menuju internet
konfigurasi static routing
(admin@gateway) > ip route print
(admin@R1)> ip route print
(admin@R2) > ip route print
juga dapat menggunakan winbox melalui menu ip >router untuk tabel routing
dari ketiga router akan terlihat sebagai berikut , karena router gateway merupakan batas antara jaringan lokal lan dan nternet ,maka para router tersebut harus dikonfigurasi nat dengan action=masquerade
perintah yang harus dilakukan adalah
>ip firewall nat add chain-srcnat out-interfaces ether1 action=masquerade
>ip dns set server=60.1.1.1 ,70.1.1.1 allow-remove-resquests=yes
ng anda untuk mengkonfigurasi routing static pada router gateway maka perintah yang anda gunakan sebagai berikut :
> ip rooute add dst-address=192.168.2.0/24 gateway = 10.10.10.2
>ip route print
>ip route add dst-address=192.168.1.0/24 gateway=10.10.10.1
> ip route print
jaringan tersebut akan digunakan untuk mengakses internet anda harus melakukan konfigurasi routing static menuju internet pada setiap router internet merupakan kumpulan jutaan ip address ,sehingga tidak untuk melakukan konfigurasi static ke internet maka anda dapat menggunakan ip address 0.0.0.0/0
perintah static routing untuk menuju internet pada masing masing router sebagai berikut :
> ip route add dst-address=0.0.0.0/0 gateway=10.10.10.6
> ip route add dst-address=0.0.0.0/0 gateway=10.10.10.6
perintahkan bahwa router gateway yang harus menggunakan 60.1.1.1 yang merupakan isp untuk menuju internet , sedangkan r1 harus menggunakan 10.10.10.6 yang merupakan interfaces ether2 dari router gateway untuk menuju internet
konfigurasi static routing
(admin@gateway) > ip route print
(admin@R1)> ip route print
(admin@R2) > ip route print
juga dapat menggunakan winbox melalui menu ip >router untuk tabel routing
dari ketiga router akan terlihat sebagai berikut , karena router gateway merupakan batas antara jaringan lokal lan dan nternet ,maka para router tersebut harus dikonfigurasi nat dengan action=masquerade
perintah yang harus dilakukan adalah
>ip firewall nat add chain-srcnat out-interfaces ether1 action=masquerade
>ip dns set server=60.1.1.1 ,70.1.1.1 allow-remove-resquests=yes
jobsheet = 03 tanggal 10-09-2014
guru produktif : maman h
nama =muhamad anwar
kelas =XII tkj 1 mikrotik
-internet gateway
-dhcp
-web proxy
1. tujuan
belajar internet gateway,dhcp,dan web proxy pada mikrotik ke xp
II.pendahuluan
asalamualaikum wr.wb
dibawah ini saya akan memberitahukan cara membuat internet gateway,dhcp,dan web proxy
III.alat dan bahan
laptop,wifi,chargeranb
IV. langkah kerja
a.internet gateway
1. system identity setname=al-bahri
2.interface pr
interface set ether1 name=wan
interface set ether2 name=lan
interface pr
3.ip address=192.168.2.129/24 interface=wan
ip address=172.20.1.1/24 interface=lan
4. ip address pr
5.ip dns set primary-dns=8.8.8.8
ip dns set secondary-dns=8.8.4.4
ip dns set allow-remove-requests=yes
ip dns pr
6.ip firewall nat pr
ip firewall nat add chains=src nat out-interfaces=wan
src-address=172.20.1.0/24 action=masquerade
ip firewall nat pr
ke xp terus ping 192.168.2.121. (no absen )
ping 8.8.8.8
ping 172.20.1.1
ping 172.20.1.2
ping 192.168.2.1
b.dhcp
1) ip pool add name=dhcp-pool ranges=172.20.1.2-172.20.1.2
ip pool pr
2) ip dhcp-server network pr
ip dhcp-server network add address=172.20.1.0/24 gateway=172.20.1.1 dns-server=8.8.8.8 , 8.8.4.4
ip dhcp-server network print
3) ip dhcp-server add name=dhcp-can-disable=no
interface=lan address-pool=dhcp-pool
ip dhcp-server pr
4) masuk ke xp download it > save > run > conect > ke terminal
5) ping 192.168.2.121 ping 192.168.2.1 ping 172.20.1.1 ping 8.8.8.8
c. web proxy
1) ip proxy pr
ip proxy set enabled=yes
ip proxy set port=3128
ip proxy set cache-administrator=admin@albahri.sch.id
ip proxy set cache-on-disk=yes
ip proxy set always-from-cache=yes
ip proxy pr
2) ip firewall nat add chain=dstnat protocol=tcp src-address=172.20.1.0/24 dst-port=80 action=redirect to-port=3128
ip firewall nat add chain=dstnat
protocol=tcp-src-address=172.20.1.0/24 dst-port=80 action=redirect to-ports=3128
3) ip proxy access add src address=172.20.1.0/24 dst-host=www.kompas.com redirect-to=www.albahri.sch.id
4)ip proxy access add src address=172.20.1.0/24 dst.host=www.detik.com action=deny
ke xp > internet explorer > www.detik.com > jika berhasil akan ke blog
semua ping akan ttl dan alamat detik com akan ke blog
guru produktif : maman h
nama =muhamad anwar
kelas =XII tkj 1 mikrotik
-internet gateway
-dhcp
-web proxy
1. tujuan
belajar internet gateway,dhcp,dan web proxy pada mikrotik ke xp
II.pendahuluan
asalamualaikum wr.wb
dibawah ini saya akan memberitahukan cara membuat internet gateway,dhcp,dan web proxy
III.alat dan bahan
laptop,wifi,chargeranb
IV. langkah kerja
a.internet gateway
1. system identity setname=al-bahri
2.interface pr
interface set ether1 name=wan
interface set ether2 name=lan
interface pr
3.ip address=192.168.2.129/24 interface=wan
ip address=172.20.1.1/24 interface=lan
4. ip address pr
5.ip dns set primary-dns=8.8.8.8
ip dns set secondary-dns=8.8.4.4
ip dns set allow-remove-requests=yes
ip dns pr
6.ip firewall nat pr
ip firewall nat add chains=src nat out-interfaces=wan
src-address=172.20.1.0/24 action=masquerade
ip firewall nat pr
ke xp terus ping 192.168.2.121. (no absen )
ping 8.8.8.8
ping 172.20.1.1
ping 172.20.1.2
ping 192.168.2.1
b.dhcp
1) ip pool add name=dhcp-pool ranges=172.20.1.2-172.20.1.2
ip pool pr
2) ip dhcp-server network pr
ip dhcp-server network add address=172.20.1.0/24 gateway=172.20.1.1 dns-server=8.8.8.8 , 8.8.4.4
ip dhcp-server network print
3) ip dhcp-server add name=dhcp-can-disable=no
interface=lan address-pool=dhcp-pool
ip dhcp-server pr
4) masuk ke xp download it > save > run > conect > ke terminal
5) ping 192.168.2.121 ping 192.168.2.1 ping 172.20.1.1 ping 8.8.8.8
c. web proxy
1) ip proxy pr
ip proxy set enabled=yes
ip proxy set port=3128
ip proxy set cache-administrator=admin@albahri.sch.id
ip proxy set cache-on-disk=yes
ip proxy set always-from-cache=yes
ip proxy pr
2) ip firewall nat add chain=dstnat protocol=tcp src-address=172.20.1.0/24 dst-port=80 action=redirect to-port=3128
ip firewall nat add chain=dstnat
protocol=tcp-src-address=172.20.1.0/24 dst-port=80 action=redirect to-ports=3128
3) ip proxy access add src address=172.20.1.0/24 dst-host=www.kompas.com redirect-to=www.albahri.sch.id
4)ip proxy access add src address=172.20.1.0/24 dst.host=www.detik.com action=deny
ke xp > internet explorer > www.detik.com > jika berhasil akan ke blog
semua ping akan ttl dan alamat detik com akan ke blog
Kamis, 06 November 2014
WelcomeTo My Blog
Selasa, 04 November 2014
JOBSHEET1
Nama : MUHAMAD ANWAR | Tanggal : 03-09-2014 | |
Kelas : XII TKJ 1 | KONFIGURASI MIKROTIK | SK/KD : - |
No.jobsheet : 1 | Guru Produktif : Bpk. Maman .H |
- TUJUAN
Belajar
konfigurasi mikrotik
- PENDAHULUAN
Assalamualaikum
wr.wb
Dibawah
ini saya akan member tahu bagaimana cara menggunakan Konfigurasi
Mikrotik
- ALAT DAN BAHAN
Laptop/komputer,
chargeran, wifi, virtual-box
- LANGKAH KERJA
* Kedua, aturlah setting > stotage> Empty> klik gambar CD (disamping IDE Secondar)> pilih mikrotik -3.20.iso
* Ketiga, aturarlah network Adapter 1 = Bridge Adapter dan Adapter 2 = Internal Network
Lalu pilih star> software installation (kosongkan mpls-test dan xen)> klik i dan klik y> klik y kembali
* Lalu ke Device> CD/DVD Device> hilangkan tanda centang pada mikrotik -3.20.iso
* Jika, sudah selesai dan masuk kedalam mikrotik, maka ketiklah Konfigurasi mikrotik, seperti dibawah ini :
- Password
Old
password –
New
password= 1234
Retype
new password= 1234
- System identity set name=smkalbahri
- Interface pr
Interface set ether2 set name LAN
- Ip address add address=192.168.1.2/24 interface=WAN
Ip address pr
- Ip route add gateway 192.168.1.1
- Ip dns pr
Ip dns set secondary-dns 8.8.4.4
Ip dns allow-remote-request=yes
Ip dns pr
- Ip firewall nat pr
Ip firewall nat pr
- HASIL KERJA
- Password= 1234
- System identity=smkalbahri
- Interface ether1= WANInterface ether2= LAN
- Ip address WAN= 192.168.1.2/24Ip address LAN= 192.168.50.1/24
- Ip route pr=192.168.1.1
- Ip dns set primary-dns=8.8.8.8Ip dns set secondary-dns=8.8.4.4 dan Ip dns set allow-remote-request=yes
- Ip firewall nat pr=chain=srcnat action=masquerade src-address=192.168.50.0/24 out-interface=WAN
- KESIMPULAN
Langganan:
Entri (Atom)
Langganan:
Postingan (Atom)