commit | 7a10e441560062ab563436f5c2447a2ae99486bb | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 14:12:44 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 14:14:43 2015 +0100 |
tree | 92557322eb5aa947552cce4297c0c4bf44de271c | |
parent | 59d72ca4370e4d602df88e76ba93ca6553c8dba5 [diff] |
gtphub: implement sgsn_use_sender for NAT. If an SGSN is behind NAT, we cannot rely on the default ports. Specifically, if a GGSN sends a message, the forwarding to the SGSN should go to whichever port the SGSN last sent from (whether sequence nr is known or not). Add sgsn_use_sender config and VTY command, and store the sender instead of the GSN Address IE and default port if set. Sponsored-by: On-Waves ehi