1. Reaching the Internet from a FabNet node

Reaching the Internet from a FabNet node

Home Forums FABRIC General Questions and Discussion Reaching the Internet from a FabNet node

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7598
    Sourya Saha
    Participant

      I am working on a project for which involves using a 5G network. I have setup port forwarding from my local machine to allow the USRP device connected to my local machine to communicate through the Fabric node. My question is, how do I provide internet connectivity to the UE now once the gNB is setup? Is there any way to route my traffic to the public internet so that when I google search something on the mobile phone or UE, it actually gives me back a result?

      • This topic was modified 2 months, 3 weeks ago by Sourya Saha.
      #7600
      yoursunny
      Participant
        1. Add a Fabnetv4Ext interface and a Fabnetv6Ext interface to the node that runs UPF.
        2. Assign RFC1918 and ULA addresses to UEs.
        3. Setup NAT on the UPF machine, to reach the Internet via Fabnetv4Ext and Fabnetv6Ext interfaces.

        IPv6 NAT sucks, but Fabnetv6Ext doesn’t offer routed subnets, so that it’s either NAT or NDP proxy.

        • This reply was modified 2 months, 3 weeks ago by yoursunny.
        #7602
        Sourya Saha
        Participant

          It can easily be done with the FABNetExt. But getting one approved is so difficult. I have been trying to get one for this project, but it seems like the FABRIC team needs a lot of convincing regarding how we plan to secure the slice from hacking since it is out of their security level.

          #7603
          yoursunny
          Participant

            I’ve tested 5G software, both on and off FABRIC. I don’t see the necessity to have Internet access for the 5G network. Typically, I run traffic generators (iperf3 etc) between UEs and UPFs, to measure the performance of 5G network.

            #7604
            Sourya Saha
            Participant

              Unfortunately, the project is not about the performance of the 5G network. It is more about using the network to achieve a broader goal which requires my UEs to have internet connectivity. Specifically, it requires my UEs to send certain files to an apache server running on some other node.

              #7605
              yoursunny
              Participant

                it requires my UEs to send certain files to an apache server running on some other node

                Host the Apache server within FABRIC, as part of your slice.

                Or, make reverse port forwarding from your laptop:

                1. In the UPF node, edit /etc/ssh/sshd_config to have GatewayPorts yes.
                2. From the laptop, SSH into the UPF node with -R 8000:apache.example.net:8000 flag.
                3. The UEs can then access http://10.30.6.48:8000 (use the internal IP address of enp3s0 interface) to reach the Apache server.

                 

                #7620
                Sourya Saha
                Participant

                  Thank you. I did reverse proxy ssh tunneling and can reach the internet.

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.