# Open5GS Core integrated with VIAVI UE Emulator ## Configuration Settings: ### AMF Modify "open5gs/install/etc/open5gs/amf.yaml" 1. ngap: - addr: 127.0.0.5 + addr: 192.168.1.161 2. tai: + plmn_id: <span style="background-color: yellow">- mcc: 208 - mnc: 95</span> <span style="background-color: pink">+ mcc: 001 + mnc: 01</span> 3. plmn_support: + plmn_id: <span style="background-color: yellow">- mcc: 208 - mnc: 95</span> <span style="background-color: pink">+ mcc: 001 + mnc: 01</span> ### UPF Modify "open5gs/install/etc/open5gs/upf.yaml" #### gtpu: <span style="background-color: yellow"> - addr: 127.0.0.7</span> <span style="background-color: pink">+ addr: 192.168.1.161</span> ## Network Settings: ### NAT Port Forwarding (to bridge between the UPF and Internet) ``` sudo sysctl -w net.ipv4.ip_forward=1 sudo systemctl stop ufw sudo iptables -I FORWARD 1 -j ACCEPT sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE sudo ip addr add 10.45.0.1/16 dev ogstun sudo ip link set ogstun up ``` ## Run and Terminate: ### Initialize ``` cd open5gs ./run-core-nfs.sh ``` ### Terminate ``` pkill -f open5gs killall screen ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up