Hi all,
I need your help to solve my problem. My boss asked me to build proxy server very soon. I am using Mikrotik proxy and do not want to use Squid because I don't know any Linux script.
Please see my attached picture.
My question is:
Is it possible for MIKROTIK AS BRIDGE + INTERNAL PROXY to cache all clients' HTTP request ?
And I want my "Mikrotik Router" do bandwidth shapping, while my "Mikrotik Bridge" ONLY do web caching.
Config in this device are:
/interface bridge add name=bridge1 protocol=none disabled=no
/interface bridge port add interface=ether-to-client bridge=bridge1 disabled=no
/interface bridge port add interface=ether-to-router bridge=bridge1 disabled=no
/interface bridge settings
set use-ip-firewall=yes
use-ip-firewall-for-pppoe=no
use-ip-firewall-for-vlan=no
/ip firewall nat
add action=redirect chain=dstnat comment=Proxy disabled=no dst-port=80 in-interface=bridge1 protocol=tcp to-ports=3128
/ip proxy
set always-from-cache=yes cache-administrator=webmaster cache-hit-dscp=20
cache-on-disk=yes enabled=yes max-cache-size=200000000KiB
max-client-connections=5000 max-fresh-time=3d max-server-connections=5000
parent-proxy=0.0.0.0 parent-proxy-port=0 port=3128
serialize-connections=yes src-address=0.0.0.0
/ip dns
set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB
max-udp-packet-size=512 primary-dns=0.0.0.0 secondary-dns=0.0.0.0
HTTP down (cannot browsing) when I am using that topology and configs
If I disabled DST-NAT to 3128, HTTP is up and normal.
Please show me where is my mistake ?
Thanks in advanced.
Regards,
YUJOBIKA