Add static routes for IMS subnet

This commit is contained in:
herlesupreeth
2020-08-02 09:12:58 +02:00
parent 28d57cb8b8
commit df04bb140f
2 changed files with 6 additions and 10 deletions

View File

@@ -79,6 +79,9 @@ ip6tables -D rtpengine -p udp -j RTPENGINE --id "$TABLE" 2>/dev/null
ip6tables -I rtpengine -p udp -j RTPENGINE --id "$TABLE"
ip6tables-save > /etc/ip6tables.rules
# Add static route to route traffic back to UE as there is not NATing
ip r add 192.168.101.0/24 via ${PGW_IP}
set -x
exec $RUNTIME $OPTIONS