In my test, I combine free5gc with gnbsim. I can capture gtp traffic on the UPF node, but UPF does not forward the traffic to the DN, and gnbsim also shows that it cannot connect to the internet. Our configuration is as follows:
AMF:
SMF:
UPF:
NAT:
The flow we captured on upf node is: