Hello,
I am struggling to figure out how to configure my IPSec interface for a successful TestNon3GPP test.
I’m using free5gc-compose (docker setup) with the following:
- N3IWF IP address: 10.100.200.15
And here’s my config setup in the non3gpp_test.go file for the test:
- n3iwfInfo_IPSecIfaceAddr = “10.100.200.15”
- n3ueInfo_IPSecIfaceAddr = “10.100.200.15”
- n3ueInfo_SmPolicy_SNSSAI_SST = “1”
- n3ueInfo_SmPolicy_SNSSAI_SD = “010203”
- n3ueInfo_IPSecIfaceName = “veth3”
- n3ueInfo_XfrmiName = “ipsec”
- n3ueInfo_XfrmiId = uint32(1)
- n3ueInfo_GreIfaceName = “gretun”
- ueInnerAddr = new(net.IPNet)
Can someone explain to me what “n3iwfInfo_IPSecIfaceAddr” and “n3ueInfo_IPSecIfaceAddr” should be set to? I see by default they are set to 192.168.127.1 and 192.168.127.2 respectively. However, when I run these default parameters, my TestNon3GPP test script is unable to communicate with the N3IWF.
Are there updated instructions on properly configuring routing for the N3IWF and TestNon3GPP?
Thanks.