Im using ROS 3.19 , and my network have 2 local segment .
One segment is just masqueraded and other is also masquerade but with hotspot.
I using this nat rule:
add action=masquerade chain=srcnat comment="masquerade public network" \
disabled=no src-address=192.168.xx.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=no src-address=192.168.x.0/24
add action=redirect chain=dstnat comment="transparent proxy - hotspot net" \
disabled=no dst-port=80 in-interface=ether2 protocol=tcp to-ports=3130
add action=redirect chain=dstnat comment="transparent proxy - Public net" \
disabled=no dst-port=80 in-interface=Public protocol=tcp to-ports=3130
My web proxy is here:
/ip proxy
set always-from-cache=no cache-administrator=admin@some.com cache-hit-dscp=4 \
cache-on-disk=yes enabled=yes max-cache-size=163434000KiB \
max-client-connections=600 max-fresh-time=3d max-server-connections=600 \
parent-proxy=0.0.0.0 parent-proxy-port=0 port=3130 serialize-connections=\
yes src-address=0.0.0.0
/ip proxy access
add action=deny comment="block telnet & spam e-mail relaying" disabled=no \
dst-port=23-25
add action=allow comment=\
"allow CONNECT only to SSL ports 443 [https] and 563 [snews]" disabled=no \
dst-port=443 method=CONNECT
add action=allow comment=\
"allow CONNECT only to SSL ports 443 [https] and 563 [snews]" disabled=no \
dst-port=563 method=CONNECT
add action=deny comment=\
"allow CONNECT only to SSL ports 443 [https] and 563 [snews]" disabled=no \
method=CONNECT
add action=deny comment=Ashole disabled=no redirect-to=\
www.some.com/blocked.htm src-address=192.168.3.50
Now Im see that my public network is have growning bytes but hotspot network is stay on 0.
In ROS 2.9.xx my proxy is cashing normaly both side of networks … but now only my public network.
What is the right way to start cashing hotspot network ?