KUMDAT TIK2

KUMDAT TIK2

Script Mikrotik Untuk Settingan PROXY

Mengaktifkan proxy
====================
[admin@MikroTik] > ip proxy
[admin@MikroTik] ip proxy> set enabled=yes

konfigurasi ip web-proxy
===========================
[admin@MikroTik] > ip web-proxy
[admin@MikroTik] ip web-proxy> set enabled=yes
[admin@MikroTik] ip web-proxy> set src-address=0.0.0.0              
[admin@MikroTik] ip web-proxy> set port=8080      
[admin@MikroTik] ip web-proxy> set hostname="proxy.fadli.ac.id"
[admin@MikroTik] ip web-proxy> set transparent-proxy=yes
[admin@MikroTik] ip web-proxy> set parent-proxy=0.0.0.0
[admin@MikroTik] ip web-proxy> set cache-administrator="webmaster"
[admin@MikroTik] ip web-proxy> set max-disk-cache-size=none
[admin@MikroTik] ip web-proxy> set max-ram-cache-size=100000KiB
[admin@MikroTik] ip web-proxy> set cache-only-on-disk=yes
[admin@MikroTik] ip web-proxy> set maximal-client-connection:1000
[admin@MikroTik] ip web-proxy> set maximal-server-connection:1000
[admin@MikroTik] ip web-proxy> set max-object-size=4096KiB
[admin@MikroTik] ip web-proxy> set max-fresh-time:3d


konfigurasi proxy transparant
================================
[admin@MikroTik] ip firewall nat add chain=dstnat in-interface=local protocol=tcp dst-port=80
src-address-list=iplocal dst-address-list=192.168.1.0/24 action=redirect to-ports=8080

[admin@MikroTik] ip firewall nat add chain=dstnat in-interface=local protocol=tcp dst-port=3128
src-address-list=iplocal dst-address-list=192.168.1.0/24 action=redirect to-ports=8080

[admin@MikroTik] ip firewall nat add chain=dstnat in-interface=local protocol=tcp dst-port=8080
src-address-list=iplocal dst-address-list=192.168.1.0/24 action=redirect to-ports=8080

[admin@MikroTik] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=accept
[admin@MikroTik] ip firewall nat add chain=dstnat protocol=tcp dst-port=3128 action=accept
[admin@MikroTik] ip firewall nat add chain=dstnat protocol=tcp dst-port=8080 action=accept


blok situs
===========
ip firewall filter
add chain=forward src-address=74.125.67.100 action=drop
add chain=forward dst-address=74.125.67.100 action=drop

blok dengan url
==================
ip web-proxy access
add url="http://www.google.com" action=deny


setting PPoE mikrotik
=====================
1. jadikan modem adsl menjadi bridge
 - advanced setup/WAN
 - connection type : bridging

2. pada mikrotik
ppp client/general:name
tab dial out: username :=account dan pass spedy

>/interface pppoe-client add name=speedy user=121302201113@telkom.net  password=tegal14
interface=public service-name=internet disabled=no

gateway yang di pakai gateway speedy: 125.160.96.1



By. Admin Muda 12_47

0 komentar:

Posting Komentar