diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-10-15 14:47:28 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-10-15 14:47:28 +0000 |
commit | 1772bc022b75be58f61804e0e2dea29fb340dfdc (patch) | |
tree | ca47a9b76425fa4e3185cb4f442770692270bc9a /osmo-ggsn-master | |
parent | 6bce1e644f67ed80317ddc3c11b0d4f5ca5795bd (diff) |
osmo-ggsn-master: Enable ipv6 forwarding
We want to be able to reach the external PDN from the PDP contexts,
and hence need to enable IPV6 forwarding between the tun device
and the PDN device(s). The latter are added using "docker network
connect"
Diffstat (limited to 'osmo-ggsn-master')
-rw-r--r-- | osmo-ggsn-master/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/osmo-ggsn-master/Makefile b/osmo-ggsn-master/Makefile index 4f1e812..0142467 100644 --- a/osmo-ggsn-master/Makefile +++ b/osmo-ggsn-master/Makefile @@ -1,3 +1,10 @@ -RUN_ARGS?=--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 --rm --network sigtran --ip 172.18.0.201 -v ggsn-vol:/data --stop-signal SIGINT +RUN_ARGS?= \ + --rm \ + --cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun \ + --sysctl net.ipv6.conf.all.disable_ipv6=0 \ + --sysctl net.ipv6.conf.all.forwarding=1 \ + --network sigtran --ip 172.18.0.201 \ + -v ggsn-vol:/data \ + --stop-signal SIGINT include ../make/Makefile |