The Gateway uses port 4501. If you are using a custom port (say port 8000) then you will need to put the Gateway on a Loopback, and create a Destination NAT from Public IP:8000 to Loopback IP:4501. Remember that it's the Portal>Satellite config that gives-out the Gateway, so on that config is where you would put the Gateway s Public IP:8000 so that the Satellite will go to Public IP:8000 for the IPSEC connection. If you're also trying to connect the Portal on a custom port (9000), that always listens on port 443. So you would put the Portal on a Loopback, and Destination NAT from Public IP:9000 to Loopback IP:443. Set the Satellite IPSEC connection to connect to Public IP:9000.
... View more