I have a problem with NAT configuration. It is somewhat similar to 'NAT-on-a-stick' situation, with NATing on a loopback interface.
I have a simple network with 2 hosts connected to 2 Fastethernet ports of a router, and one loopback interface on that router. NAT has to be done inside router, before exiting to 'public' network.
I send ping from 'private' to 'public' host, and traffic is going into router, with policy routing is forwarded to loopback, then nated, and routed to 'public' network. Just fine.
Problem is that reply from 'public' host
(and any other traffic as well) comes into router, but is never nated back to private address, so my 'private' host never gets answer.
I attached image, config of a router, and outputs of some show and debug commands.
Thank you in advance.