TunnelGateway implementation