Hi,
Anyone had succeed building Mikrotik Bridge as Web Proxy ?
I tried search whole forum and google, but nothing ![]()
Since 3 years ago, I have a solid network like this:
Clients ----- Mikrotik Gateway ----- Internet (4 WAN load balance).
Now, I want to add web proxy in my network, so it will be like this:
Client ----- Mikrotik Bridge (port ether1 + ether2 in bridge1) + Internal Web Proxy ----- Mikrotik Gateway ----- Internet (4 WAN load balance).
I have to use Mikrotik Bridge and its Internal Web Proxy. I don’t want to use any other external proxy, because Mikrotik internal proxy is good enough for me. And I am fans of Mikrotik ![]()
I tried to setup Mikrotik Bridge as follow:
(using RB750 just for testing. If working good, will change to Mikrotik PC)
BRIDGE
/interface bridge> pr
0 R name=“bridge1” mtu=1500 l2mtu=1524 arp=enabled
mac-address=00:0C:42:80:92:07 protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m
/interface bridge port> pr
0 ether1 - IN bridge1 0x80 10 none
1 ether5 - OUT bridge1 0x80 10 none
/interface bridge settings> pr
use-ip-firewall: yes
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: no
NAT
/ip firewall nat> pr
0 chain=dstnat action=redirect to-ports=9999 protocol=tcp dst-port=80
in-bridge-port=ether1 - IN
WEB PROXY
/ip proxy> pr
enabled: yes
src-address: 0.0.0.0
port: 9999
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: “webmaster”
max-cache-size: 8000KiB
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 9
cache-drive: system
And Mikrotik Bridge as PPPoE Client, Mikrotik Gateway as PPPoE Server.
So Mikrotik Bridge got internet from Mikrotik Gateway.
If I disable “NAT Redirect”, client have internet from Mikrotik Gateway, but if “NAT Redirect” enabled, clients disconnect from internet ![]()
Please somebody, where is my mistake ?
Thanks