Refactored to implement NAT within container.