Using WinBox I’ve created a firewall rule that allow all the traffic from some VLAN20’s IP to all the 10.0.10.x/24.
It works fine, I’m able to reach those IPs from any device under VLAN10. Since I’m a newbie I’m happy for this result!
For a particular device configuration I need to create a 1:1 NAT between 10.0.10.221 to 10.0.20.1.
The final target is: assuming that I’m on 10.0.10.13 IP, I’m able to ping 10.0.10.221 (because the NAT will redirect my ping to 10.0.20.1).
I’ve tried to configure a “dst nat” but it seem not working.
I’ve also tried to configure a “dst nat” over “netmap” but it’s the same…
I’m a little bit confused… I have a great knowledge and great skills on NAT configuration over many other brand devices like Fortinet, Sonicwall, Zyxel, Altaro, Ubiquiti Unify,… but here I need your help.
May I ask for your suggestion on how I can configure this simple kind of NAT?
Many thanks in advance.
Then I started a ping -t from 10.0.10.13 to 10.0.10.221.
As I can see from them the ping is triggering this NAT because I can see traffic.
Log message:
dstnat: in:VLAN10 out:(unknown 0), src-mac c4:9d:ff:a9:75:c5, proto ICMP (type 8, code 0), 10.0.10.13->10.0.10.221, len 60
I suppose that the problem is the outgoing interface… it is different from “VLAN10” incomping interface… how can I explain to the dst-nat that the outgoing interface should be different? In the NAT rule window I can only input a destination address without specify is interface…
Glad you have it solved, it sounded like a dstnat of some sort but without the use case I was in the dark.
I have no clue what you were trying to accomplish from a laypersons perspective…