Skip to content

Commit

Permalink
Dockerfile (ubuntu18.04): include iptables
Browse files Browse the repository at this point in the history
The SPGW-U calls `iptables` during startup, but it is never installed in the Dockerfile for ubuntu 18.04. As far as I can tell, this fixes issues where UE-originating traffic makes it to the SPGW-U, but the response never reaches the UE: OPENAIRINTERFACE/openair-epc-fed#3

Seems to be called from this line: https://github.com/OPENAIRINTERFACE/openair-spgwu-tiny/blob/5ca383967fb80910ce92a596ad2853dd5aa520bb/src/spgwu/simpleswitch/pfcp_switch.cpp#L271

I'm following this guide: 
https://github.com/OPENAIRINTERFACE/openair-epc-fed/blob/master/docs/DEPLOY_HOME.md

My log:
```
[2020-10-07T14:57:57.952324] [spgwu] [spgwu_s1u] [start] Started
sh: 1: iptables: not found
net.ipv4.conf.all.forwarding = 1
``
  • Loading branch information
mrlnc authored Oct 8, 2020
1 parent 98cedd7 commit 829b9f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci-scripts/Dockerfile.ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && DE
psmisc \
net-tools \
iproute2 \
iptables \
tshark \
libgoogle-glog0v5 \
libdouble-conversion1 \
Expand Down

0 comments on commit 829b9f0

Please sign in to comment.