Unable to ping 8.8.8.8 from uesimtun interface
Closed this issue · 2 comments
I tried UERANSIM with open5gs, sctp, ngap, rrc, PDU Session establishment everything successful and uesimtun also created with IP.
But I can't able to ping google.com through uesimtun IP.
Below steps are tired.
Ip route update:
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -I INPUT --source 10.45.0.2/16 -j ACCEPT
sudo iptables -t nat -I POSTROUTING --out-interface ens3 -j MASQUERADE
sudo iptables -I FORWARD --in-interface ens3 --out-interface ogstun -j ACCEPT
sudo iptables -I FORWARD --in-interface ogstun --out-interface ens3 -j ACCEPT
Deployment scenerios:
Scenerio1 : UERANSIM & Open5gs in same VM
Scenerio2 : UERANSIM in one VM and Open5gs in another VM
@aligungr : Please suggest
Issue resolved
@Vinothkumar-sakthivel what was this issue?