2LAN + web-proxy ??

hello , i have MT routerOS 2.9. and this is my setup :

[admin@MikroTik] interface> print
Flags: X - disabled, D - dynamic, R - running

NAME TYPE RX-RATE TX-RATE MTU

0 R internet ether 0 0 1500
1 R localnet ether 0 0 1500
2 R salhya ether 0 0 1500

[admin@MikroTik] ip dhcp-server network> print

ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN

0 xx.xx.xx.xx/30 xx.xx.xx.xx
1 192.168.1.0/24 192.168.1.1 xx.xx.xx.xx
2 192.168.2.0/24 192.168.2.1 xx.xx.xx.xx


[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=internet action=masquerade

2 chain=dstnat in-interface=internet protocol=tcp dst-port=80
action=redirect to-ports=8080

4 chain=dstnat in-interface=salhya protocol=tcp dst-port=80
action=redirect to-ports=8080

[admin@MikroTik] ip proxy> print
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0:0
cache-drive: secondary-master
cache-administrator: "webmaster"
max-disk-cache-size: 69229000KiB
max-ram-cache-size: 1000KiB
cache-only-on-disk: no
maximal-client-connections: 1000
maximal-server-connections: 1000
max-object-size: 1000KiB
max-fresh-time: 1d


as you see from above , i have 2LAN and 1WAN , the problem is :
when i enable the web-proxy ( i'm using webproxy-test ) i cant reach the internet through LAN2 ( called salhya ) only i can from LAN1 !!!!

how to solve this problem ???? i need web-proxy used by both LANs..

try this

/ip firewall nat

chain=dstnat src-address=192.168.1.0/24 protocol=tcp dst-port=80 action=redirect to-ports=8080

chain=dstnat src-address=192.168.2.0/24 protocol=tcp dst-port=80 action=redirect to-ports=8080

thanks for the fast reply , but it didnt solve the problem ..
even with your setup i can access the internet only if i disabled the web-proxy !!!

is it possible to access the internet through more than on lan card with web-proxy enabled or not ???

forget that , i quit , i’ve disabled web-proxy , let’s celibrate