1. Koneksi dari winbox
1. Setting password
password
1. Setting password
password
2. Mengganti nama mikrotik
#sytem identity set name=SAIDPROXY
3. Mengaktifkan interface dan menggenti nama Interfaces
#interface ethernet enable=ether1
#interface ethernet enable=ether2
#interface ethernet enable=ether3
interface ethernet set ether1 name=LOKAL
interface ethernet set ether2 name=INTERNET
interface ethernet set ether3 name=PROXY
#interface ethernet enable=ether2
#interface ethernet enable=ether3
interface ethernet set ether1 name=LOKAL
interface ethernet set ether2 name=INTERNET
interface ethernet set ether3 name=PROXY
4. Memberi IP address
ip address add address=192.168.1.1/24 interface=INTERNET comment=telkom-speedy
ip address add address=192.168.88.1/24 interface=LOKAL comment=ke-user
ip address add address=192.168.100.1/24 interface=PROXY comment=proxy-external
5. Seeting gatheway
ip address add address=192.168.1.1/24 interface=INTERNET comment=telkom-speedy
ip address add address=192.168.88.1/24 interface=LOKAL comment=ke-user
ip address add address=192.168.100.1/24 interface=PROXY comment=proxy-external
5. Seeting gatheway
#ip routes add gateway=192.168.1.1
6. Setting DNS
IP DNS setting primary secondary allow remote request
#ip dns set primary-dns=202.134.0.155 allow-remoterequests=yes
#ip dns set secondary-dns=202.134.0.62 allow-remoterequests=yes
tes ping.....
#ip dns set secondary-dns=202.134.0.62 allow-remoterequests=yes
tes ping.....
7. Setting NAT agar semua user connect ke internet
IP firewall nat chain=srcnat out interface=INTERNET (speedy) action=masquerede
ip firewall nat add chain=srcnat action=masquerade out-interface=INTERNET
8.
Settiing DHCP server
ip pool add name=pool dhcp address 192.168.88.20- 192.168.88.254
#ip dhcp-server enable 0
ip pool add name=dhcp-pool ranges=192.168.88.20-192.168.88.254
ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1
#Om dody =ip dhcp server network add address= 192.168.88.0/24 gatheway= 192.168.88.1 netmask=24 dns server=202.134.1.10-202.134.0.155
ip dhcp-server add interface=LOKAL address-pool=dhcp-pool
SESUAIKAN SETELAH INI
9. Setting transparant Proxy
ip pool add name=pool dhcp address 192.168.88.20- 192.168.88.254
#ip dhcp-server enable 0
ip pool add name=dhcp-pool ranges=192.168.88.20-192.168.88.254
ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1
#Om dody =ip dhcp server network add address= 192.168.88.0/24 gatheway= 192.168.88.1 netmask=24 dns server=202.134.1.10-202.134.0.155
ip dhcp-server add interface=LOKAL address-pool=dhcp-pool
SESUAIKAN SETELAH INI
9. Setting transparant Proxy
IP web proxy web proxy setting enable src address (IP LOKAL) port=8080
10. Setting web proxy transparant
IP firewall nat add general chain dstnat protocol 6 (tcp) dst port 80 out interfaces INTERNET action redirect to port 8080
11. Rul untuk transparant proxy
IP firewall nat add cahin=dstnat protocol=6(tcp) Dst.Port=80 action=redirect to port=8080
12. Tentukan interface yang dipergunakan dan aktifkan DHCP Server
dhcp add name=said-dhcp interfaces=LOKAL address pool=pool-dhcp allwaysbroadcat=yes
13. DHCP CLIENT
ip dhcp client add interfaces=internet
14. Mikrotik sebagai Bandwidth Limiter
11. Rul untuk transparant proxy
IP firewall nat add cahin=dstnat protocol=6(tcp) Dst.Port=80 action=redirect to port=8080
12. Tentukan interface yang dipergunakan dan aktifkan DHCP Server
dhcp add name=said-dhcp interfaces=LOKAL address pool=pool-dhcp allwaysbroadcat=yes
13. DHCP CLIENT
ip dhcp client add interfaces=internet
14. Mikrotik sebagai Bandwidth Limiter
Tidak ada komentar:
Posting Komentar