Home › Forums › FABRIC General Questions and Discussion › Reaching the Internet from a FabNet node
Tagged: mobile
- This topic has 6 replies, 2 voices, and was last updated 1 month, 2 weeks ago by Sourya Saha.
-
AuthorPosts
-
October 2, 2024 at 2:51 pm #7598
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 1 month, 2 weeks ago by Sourya Saha.
October 2, 2024 at 2:58 pm #7600- Add a Fabnetv4Ext interface and a Fabnetv6Ext interface to the node that runs UPF.
- Assign RFC1918 and ULA addresses to UEs.
- 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 1 month, 2 weeks ago by yoursunny.
October 2, 2024 at 3:13 pm #7602It 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.
October 2, 2024 at 3:35 pm #7603I’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.
October 2, 2024 at 3:37 pm #7604Unfortunately, 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.
October 2, 2024 at 4:00 pm #7605it 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:
- In the UPF node, edit /etc/ssh/sshd_config to have GatewayPorts yes.
- From the laptop, SSH into the UPF node with -R 8000:apache.example.net:8000 flag.
- The UEs can then access http://10.30.6.48:8000 (use the internal IP address of enp3s0 interface) to reach the Apache server.
October 3, 2024 at 3:11 pm #7620Thank you. I did reverse proxy ssh tunneling and can reach the internet.
-
AuthorPosts
- You must be logged in to reply to this topic.