[srslte-users] srsLTE using LimeSDR UDB - No Uplink IP communication

Ralph A. Schmid, dk5ras ralph at schmid.xxx
Fri Feb 28 08:59:46 UTC 2020


I have put these lines into my lte start script, to grab the first available interface for routing to internet. Of course also in general routing must be enabled on the machine, as usually this is disabled by default.

 

sudo iptables -t nat -A POSTROUTING -o $(ip addr show | awk '/inet.*brd/{print $NF; exit}') -j MASQUERADE &

sudo iptables -A FORWARD -i $(ip addr show | awk '/inet.*brd/{print $NF; exit}') -o srs_spgw_sgi -m state --state RELATED,ESTABLISHED -j ACCEPT &

sudo iptables -A FORWARD -i srs_spgw_sgi -o $(ip addr show | awk '/inet.*brd/{print $NF; exit}') -j ACCEPT

 

This way all such problems are gone :)

 

Ralph.

 

 

 

From: srslte-users [mailto:srslte-users-bounces at lists.softwareradiosystems.com] On Behalf Of Brais Ares
Sent: Thursday, February 27, 2020 6:50 PM
To: salik satti <silent.sms at gmail.com>
Cc: srslte-users at lists.softwareradiosystems.com
Subject: Re: [srslte-users] srsLTE using LimeSDR UDB - No Uplink IP communication

 

I had the same problem until I did the IP masquerading <https://docs.srslte.com/en/latest/srsepc/source/2_epc_getstarted.html#connecting-ues-to-the-internet>  and set up the APN on the mobile phone (see Enable IP network <https://cyberloginit.com/2018/05/03/build-a-lte-network-with-srslte-and-program-your-own-usim-card.html> ; ignore the masquerading part).

Only then the mobile phone was able to know its assigned IP address (uplink ping working) and also connect to the Internet through srsLTE RF link.

 

Hope it helps.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200228/1b67ee3f/attachment.htm>


More information about the srsran-users mailing list