I enable web-proxy transparent, with nat-redirect for clients, and I see that
http://www.whatismyip.org sees the internal ( eg. 192.168.x.y) address, instead of the public one, as seen on the http://www.whatismyip.com, or other public servers.
The router is masquerading the internal network with a public full routable addres in front of it. I tried with masquerade both before and after redirect to proxy rule in nat. It’s the same.
/ip firewall nat
add action=redirect chain=dstnat comment="Redirect 80 to Proxy" disabled=no dst-port=80 \
protocol=tcp src-address=192.168.x.y/24 to-ports=3128
add action=masquerade chain=srcnat comment="Masquerade local network" disabled=no \
out-interface=public src-address=192.168.x.y/24
............
/ip proxy
set always-from-cache=no cache-administrator="admin@example.com" cache-drive=system cache-hit-dscp=4 \
cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=600 \
max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 parent-proxy-port=0 \
port=3128 serialize-connections=no src-address=0.0.0.0
Has whatismyip.org something special, or what ?
Is this a bug, am I doing something wrong, or am I missing something ?
MT stuff ? anybody ?