Source of traffic forwarded from router to another device

I have a router running openWrt configured as a dumb AP. I want to add another device between the router and WAN which should see traffic per client connected to the router and not from the router itself.

( & router <-------> device1 <--------> WAN

device1 will forward traffic from router to WAN and it should see incoming traffic source as client1( or client2( and not as all traffic coming from router(

device1 can be another device running openWrt. I'm wondering if this is possible and I'm not really sure how to configure it this way.

1 Like
  • Create a static route to via on the device.
  • Disable masquerading on the WAN firewall zone on the router.
1 Like

I added the static route on device1


On the router I disabled masquerading by removing below config on WAN zone.


Then I tried pinging a client( from device1. I didn't get a response. Am I missing something?

Remove that.

No, it should be /23.

This also requires to enable the WAN to LAN zone forwarding on the router.

Accessing clients behind the router from the device is a separate task.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.