IPSEC split include with ROS client not working

I'm trying to simulate a multi-wan network as part of a ROS upgrade from 6 to 7; I finally managed to make policy routing work, but when I'm trying to test out the IPSec configuration, the ROS client in the simulator (which is supposed to reflect the Windows clients connecting via IPSec) does not receive the split include (I see it in the client logs, but it's nowhere under /routing/route/print). Is it possible to manually add the split tunnel? If yes, what would be the gateway?

Server config

/ip ipsec mode-config add address-pool=vpnpool address-prefix-length=32 name=ikev2modeconfig split-dns=192.168.0.1 split-include=192.168.0.0/24 system-dns=no
/ip ipsec policy group add name=vpngroup
/ip ipsec profile set [ find default=yes ] dh-group=ecp256,ecp384,ecp521,modp8192,modp6144,modp4096,modp3072,modp2048 enc-algorithm=aes-256,aes-128 hash-algorithm=sha256
/ip ipsec profile add dh-group=ecp256,ecp384,ecp521,modp8192,modp6144,modp4096,modp3072,modp2048 enc-algorithm=aes-256,aes-128 hash-algorithm=sha256 name=ike2
/ip ipsec peer add exchange-mode=ike2 name=ike2 passive=yes profile=ike2
/ip ipsec identity add auth-method=digital-signature certificate=server1 generate-policy=port-strict match-by=certificate mode-config=ikev2modeconfig peer=ike2 policy-template-group=vpngroup remote-certificate=rw-client1
/ip ipsec proposal set [ find default=yes ] auth-algorithms=sha256,sha1 enc-algorithms=aes-256-cbc,aes-256-ctr,aes-256-gcm,aes-192-cbc,aes-128-cbc,aes-128-ctr,aes-128-gcm pfs-group=none
/ip ipsec proposal add auth-algorithms=sha512,sha256 enc-algorithms=chacha20poly1305,aes-256-cbc,aes-256-ctr,aes-256-gcm,aes-128-cbc,aes-128-ctr,aes-128-gcm name=ikev2proposal pfs-group=none
/ip ipsec policy add dst-address=10.10.10.0/26 group=vpngroup proposal=ikev2proposal src-address=0.0.0.0/0 template=yes

Client config

/ip ipsec mode-config add name=ike2-rw responder=no
/ip ipsec policy group add name=ike2-rw
/ip ipsec profile add dh-group=ecp256,ecp384,ecp521,modp8192,modp6144,modp4096,modp3072,modp2048 enc-algorithm=aes-256,aes-128 hash-algorithm=sha256 name=ike2-rw
/ip ipsec peer add address=REDACTED/32 exchange-mode=ike2 name=ike2-rw-client profile=ike2-rw
/ip ipsec proposal set [ find default=yes ] pfs-group=none
/ip ipsec proposal add auth-algorithms=sha512,sha256 enc-algorithms=aes-256-cbc,aes-256-ctr,aes-256-gcm,aes-128-cbc,aes-128-ctr,aes-128-gcm name=ike2-rw pfs-group=none
/ip ipsec identity add auth-method=digital-signature certificate=cert_export_rw-client1.p12_0 generate-policy=port-strict mode-config=ike2-rw peer=ike2-rw-client policy-template-group=ike2-rw
/ip ipsec policy add group=ike2-rw proposal=ike2-rw template=yes

Log from the client

2026-11-04 21:03:38 ipsec updating my selectors
2026-11-04 21:03:38 ipsec using selectors: 10.10.10.63 <=> 192.168.0.0/24
2026-11-04 21:03:38 ipsec searching for policy for selector: 10.10.10.63 <=> 192.168.0.0/24
2026-11-04 21:03:38 ipsec using policy group: ike2-rw
2026-11-04 21:03:38 ipsec generating policy
2026-11-04 21:03:38 ipsec IPsec-SA established: REDACTED[4500]->1.1.1.2[4500] spi=0xfced69
2026-11-04 21:03:38 ipsec IPsec-SA established: 1.1.1.2[4500]->REDACTED[4500] spi=0x8e6b2ef6
2026-11-04 21:03:38 ipsec processing payload: CONFIG
2026-11-04 21:03:38 ipsec   attribute: internal IPv4 address size: 4
2026-11-04 21:03:38 ipsec   attribute: internal IPv4 netmask size: 4
2026-11-04 21:03:38 ipsec   attribute: internal IPv6 subnet size: 8
2026-11-04 21:03:38 ipsec got address 10.10.10.63
2026-11-04 21:03:38 ipsec got netmask 255.255.255.255
2026-11-04 21:03:38 ipsec got subnet 192.168.0.0/24
2026-11-04 21:03:38 ipsec searching for policy for selector: 10.10.10.63 <=> 192.168.0.0/24
2026-11-04 21:03:38 ipsec using strict match: 10.10.10.63 <=> 192.168.0.0/24

Routing/route/print from the client

[admin@remote_workforce] /ip/ipsec> /routing/route/print
Flags: U - UNREACHABLE, A - ACTIVE; c - CONNECT, s - STATIC
Columns: DST-ADDRESS, GATEWAY, AFI, ROUTING-TABLE, DISTANCE, SCOPE,
         TARGET-SCOPE, IMMEDIATE-GW
   DST-ADDRESS        GATEWAY  AFI   ROUT  DISTANCE  SCOPE  TA  IMMEDIATE-GW
As 0.0.0.0/0          1.1.1.1  ip    main         1     30  10  1.1.1.1%ether9
Ac 1.1.1.0/24         ether9   ip    main         0     10   5  ether9
Ac 10.10.10.63/32     ether9   ip    main         0     10   5  ether9
Ac ::1/128            lo       ipv6  main         0     10   5  lo
Ac fe80::%ether9/64   ether9   ipv6  main         0     10   5  ether9
Uc fe80::%ether16/64  ether16  ipv6  main         0     10   5
A  lo                          link  main         0
A  ether9                      link  main         0
[admin@remote_workforce] /ip/ipsec>

Split-include doesn't add a route but a dynamic IPsec policy (10.10.10.63 <=> 192.168.0.0/24 in your log) that only matches traffic with source address 10.10.10.63. Try /ping 192.168.0.1 src-address=10.10.10.63 on the client, and if that works you don't need another gateway, just a route to 192.168.0.0/24 via 1.1.1.1 with pref-src=10.10.10.63 for traffic from the router itself. The src-address-list option in the client mode-config is only needed for devices behind the client, since it adds a src-nat rule for them.

Since 7.25 there are also XFRM interfaces, which let you route 192.168.0.0/24 with gateway=xfrm0 like a normal tunnel, but that only helps the RouterOS client and I'm not sure how well it works with mode-config.

Thank you, I can see the pings coming in but I don't see responses; I'll open a separate topic about that, must be the way how I set up policy routing.

I'll try to help with that, so post a full export from the server here or in the new topic ("/export file=anyname" with public IPs and keys removed) together with the output of "/routing/route print" and "/ip ipsec installed-sa print" while you ping. Also mention where you see the pings coming in.

The SA counters show if the replies get encrypted at all, and the export shows if mangle, NAT or fasttrack catches them first.

Here's the new topic, I added that info + a little diagram as well: Multi WAN policy routing with IPSEC

Thanks in advance for looking into it!