Sie sind auf Seite 1von 2

1.Mengganti nama system #system identity set name=TKJ 2.

Cek interface, pastikan 2 nic dikenali oleh system #interface print 3.Mengganti nama interface #interface ethernet set ether1 name=local #interface ethernet set ether2 name=internet 4.Memberi IP #ip address #ip address #ip address address pada masing-masing NIC print add address=10.10.10.10.7 interface=internet add address=192.168.50.1/27 interface=local

5.Memberi IP Gateway #ip route print #ip route add gateway=10.10.10.10.1 6.Setting IP DNS #ip dns print #ip dns set primary-dns=180.131.144.144 allow-remote-requests=yes #ip dns set secondary-dns=180.131.145.145 allow-remote-requests=yes 7.testing dengan mencoba ping ke gateway #ping 10.10.10.10.1 8.Agar semua komputer Client yang ada di LAN bisa terhubung ke internet, #ip firewall nat print #ip firewall nat add chain=srcnat action=masquerade out- interface=internet 9.CONFIGURASI CLIENT IP address 192.168.50.2 Subnet mask 255.255.255.0 Gateway 192.168.50.1 DNS 1 180.131.144.144 DNS 2 180.131.145.145 10.CONFIGURASI PROXY SERVER #ip web-proxy set enabled=yes #ip web-proxy set src-address=0.0.0.0 #ip web-proxy set port=3128 #ip web-proxy set hostname= www.smkalkhoiriyah.sch.id #ip web-proxy set transparent-proxy=yes #ip web-proxy set parent-proxy=0.0.0.0:0 #ip web-proxy set cache11.administrator=purnalia@smkalkhoiriyah.sch.id #ip web-proxy set max-object-size=4096KiB #ip web-proxy set cache-drive=system

#ip web-proxy set max-cache-size=unlimited #ip web-proxy set max-ram-cache-size=unlimited 12.belokkan yang datang dari browser adalah port 80 kita belokkan ke proxy 3128. #ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-po rts=3128 13.memblok situs-situs yang tidak kita inginkan #ip web-proxy access add url=www.youtube.com method=any action=deny #ip web-proxy access add url=www.facebook.com method=any action=deny 14.hotspot #ip hotspot setup select interfance to run hotspot on hotspot interface: hotspot set hotspot address for interface local address of network: 10.10.10.1/24 masquerade network: yes set pool for hotspot address address pool of network: 10.10.10.21-10.10.10.35 select hotspot ssl certificate select certificate: none select smtpserver ip address of smtp server: 0.0.0.0 setup dns configuration dns server: 180.131.144.144 180.131.145.145 dns name of internet local server dns name: create internet local user name of internet local user:mulyadi password for the user :123456 15.mengatur bandwhit #queue simple add name=limit-hotspot interface=hotspot target-address=10.10.10.0 /24 max-limit=262144/524288 #queue simple print