UPF GTP interface name

Hi,
I see that in the UPF configuration file, we have the option to set the interface name (i.e., ifname)

gtpu:
  forwarder: gtp5g
  # The IP list of the N3/N9 interfaces on this UPF
  # If there are multiple connection, set addr to 0.0.0.0 or list all the addresses
  ifList:
    - addr: 127.0.0.8
      type: N3
      # name: upf.5gc.nctu.me
      # ifname: gtpif

The tunnel interface created is always called upfgtp. Changing the value of ifname in the configuration file does not seem to have any effect. Can someone please confirm if it is possible to change the name of the GTP tunnel interface from upfgtp to something else?

Hello!
You can edit the code of gtp5glink.go (in the free5gc/NFs/upf/internal/forwarder folder). Change all “upfgtp” to the name you want to set, for example, I set it to “testing”. Rebuild it and run, you can see the name of the interface has been changed.

and remeber to change force_kill.sh: