Hit proxy with mikrotik by DediHerlambang1

VIEWS: 210 PAGES: 1

More Info
									Proxy hit mikrotik - external proxy mikrotik nat (TESTED!!)                          dedisetiaji.wordpress.com



Proxy hit is a technique used by routers to direct (in this port 80 - web) to web proxy, web proxy
that is stored in the thus speeding up access time of a web page.


Configuration used is like this:




Description:
ISP: 192.168.1.1
Mikrotik:
       Ether1 (to ISP): 192.168.1.2
       Ether2 (the Proxy): 192.168.2.2
       Ether3 (to LAN): 192.168.3.1
Proxy: 192.168.2.1
LAN: 192.168.3.0/24 (255.255.255.0)


Wrote directly to the script (for a different network address please adjusted)
       / Ip firewall nat
       add chain = srcnat action = masquerade out-interface = "To ISP" \
       src-address-list = local comment = "local ISP to grout" disabled =
no
       add chain = srcnat action = masquerade out-interface = "To ISP" \
       src-address = 192.168.2.1 comment = "proxy to the ISP nat" disabled
= no
       add chain = dstnat action = dst-nat to-addresses = 192.168.2.1 to-
ports = 3128 \
       in-interface = "To LAN" dst-port = 80 protocol = tcp src-address-
list = local \
       comment = "force client to proxy" disabled = no

								
To top