RouterOS 7.23.1 on RB760iGS / hEX S.
Goal:
IKEv2 certificate VPN to FortiGate dial-up hub.
Remote LAN is 192.168.125.0/24.
Need VPN-visible NAT addresses 1.1.5.x for PLC/HMI access.
Working:
IKEv2 certificate tunnel establishes.
Phase 2 establishes with:
MikroTik policy: 1.1.5.0/24 -> 192.168.130.0/24
FortiGate selector: 192.168.130.0/24 -> 1.1.5.0/24
MikroTik has:
1.1.5.1/24 on bridge
192.168.125.1/24 on bridge
Confirmed working:
MikroTik ping 192.168.130.1 source 1.1.5.1 succeeds.
Problem:
FortiGate ping 1.1.5.110 source 192.168.130.1 enters IPsec tunnel, but MikroTik NAT rules never count packets.
Tried:
dst-nat:
src-address=192.168.130.0/24
dst-address=1.1.5.110
to-addresses=192.168.125.110
src-nat:
src-address=192.168.125.110
dst-address=192.168.130.0/24
to-addresses=1.1.5.110
Also tried full netmap:
1.1.5.0/24 <-> 192.168.125.0/24
In both cases:
IPsec SA counters increment, but NAT counters and connection tracking do not.
Can RouterOS policy-based IPsec perform NAT-LAN style translation for decrypted inbound traffic, like 1.1.5.110 -> 192.168.125.110?
If yes, where must the NAT be applied? Firewall NAT, mangle, raw, mode-config, policy template, or a different IPsec design?