During the ipsec tunnel establishment between the free5gc and strongswan, n3iwf is using ip address 192.168.127.1 to exchange packets, and also free5gc is creating 10.0.0.1 with virtual ip, ipsec0, to connect with the client’s subnet 10.0.0.x (random). After the establishment of ipsec tunnel, free5gc is sending registration accept and the client is sending the registration complete message from 10.0.0.1 to 10.0.0.x but it is not going through the ipsec tunnel, instead it is going through like a regular socket. Please give us some guidance where should we look into or which configuration to change.
10.0.0.x – 192.168.86.33 =========== 192.168.86.34 – 10.0.0.1
l-----------------------------===========---------------------------l it should be like this but
l---------------------------------------------------------------------------l
Thank you in advance.