Hey,
sorry for this beginner question.
All happens on a bridged interface.
A NTP request (123/UDP) is sent from 192.168.199.33 (wlan2) to 192.168.199.1 (eth). However, I want to have the packet forwarded to 192.168.199.2 (eth).
I have a very similar dst-nat rule that works if I am sending the request from another interface (i.e. not on this bridge), but inside the bridge it does not work despite the NAT rule counter goes up:
add action=dst-nat chain=dstnat comment="NTP Request (UDP 123)" \
dst-address=192.168.199.1 dst-port=123 log=yes log-prefix=nattest protocol=\
udp src-address=192.168.199.33 to-addresses=192.168.199.2
If this is handled on L2 only, why is the IP NAT counter incrementing? Is there a way to redirect the packet inside a bridge based on IP?
Thanks,
Daniel