sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o <dn_interface> -j MASQUERADE
What is dn_interface here?
Whether you tested the user plane function?
sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o <dn_interface> -j MASQUERADE
What is dn_interface here?
Whether you tested the user plane function?
<dn_interface> is the interface you connect to data network
We test the UP via our test script
./test.sh ./test.sh [ TestRegistration | TestServiceRequest | TestXnHandover | TestN2Handover | TestDeregistration | TestPDUSessionReleaseRequest | TestPaging | TestNon3GPP ]
You can also capture gtp packet via the script.
Dn interface is the ip address of outer network or ethernet interface(eth0) of outer network?
. /test.sh and which is exactly for checking gtpu packets
dn interface is an interface.