i need some help i have 2 routers router1 is Load Balancing 2 DSL-Lines and then output the traffic to router2 which is facing the network users (have hotspot,dchp,dns,web-proxy)
the problem is , i want to manage specific internal ip traffic throught router1 (the one with PCC) but all i see is Lan ip of router2
router1 *interfaces WAN1 192.168.1.22/24
WAN2 192.168.2.22/24
Lan 10.10.10.10/24
router2 *interfaces Lan 20.20.20.20/24 (facing users)
Mik 10.10.10.100
router1 is connected to rourter2 Lan<—>Mik
how can i manage internal ip throught router1 ?? is it something to do with nat rules ! need help
Don’t use nat on the internal router. Then just add a /30 between the two and in your isp facing router add routes to the lans on the internal router. Do the nat masquerade on your isp facing router. That would allow you to expose the src addresses from your internal router to isp facing router.
yea bro u helped so much,but there is a little problem i’m facing
this solution solved the problem for all types of connections except http connection (i.e port 80) i still see src-address of router2 not the internal IPs…i think web-proxy causing the problem
is there a way to solve this while keeping web-proxy ON
Assuming the web proxy is still on the customer facing router, that would make sense because the web proxy is doing src nat in a way, but only with port 80.
Assuming you are running a translucent proxy, I would add a dst nat rule on the isp facing router that would redirect port 80 to a web proxy running on its own hardware.
Start by adding a proxy on the isp facing router.
Then remove the dst nat for the proxy on the customer facing router, then add it to the isp facing router.