Hi guys,
I have tow gateway and two interior network.
I like to filter some websites for network1 users in web proxy, but when I redirect network1 IP to the web proxy port number after effect web proxy send their request into the GW1 not GW2…!!!
I config my router os by below codes.
ip firewall nat chain=src-nat src-address=192.168.1.0/24 out-Interface=GW1 action=masqurade
ip firewall nat chain=src-nat src-address=192.168.2.0/24 out-Interface=GW2 action=masqurade
ip route add dst-address=0.0.0.0/0 gateway=ISP1 mark-routing=GW1
ip route add dst-addres=0.0.0.0/0 gateway=ISP2 mark-routing=GW2
ip firewall mangle chat=prerouting src-address=192.168.1.0/24 action=mark routing new-mark-routing=GW1
ip firewall mangle chat=prerouting src-address=192.168.2.0/24 action=mark routing new-mark-routing=GW2
ip firewall nat chain=dst-nat src-address=192.168.2.0/24 protocol=tcp action=redirect to-port=8080
please advice me.
many thanks