-
In ISP router, configurations of VIP, and Firewall policy.
Virtual IP to forward traffic on port 10777 (on Router) to SSL VPN port (8443).

The Firewall policy with the above VIP is set as the Destination address, with NAT enabled.
 
-
In the FortiGate firewall, configurations of SSL VPN, Firewall policy, and Policy route:
SSL VPN settings with the listening interface (port5), port(8443), and user/portal.
 
The Firewall policy for SSL VPN connections:
A policy route to reply to the SSL VPN traffic (which comes from port5) to port5.
 
-
Configurations on FortiClient (in Client's computer):
 
-
Notes:
In the FortiGate firewall, the packet sniffer shows the connections from 10.10.1.11 (which is Router's port1) because, in step 2, the firewall policy has NAT enabled.
 
If NAT is disabled, the sniffer will show the connections from 10.47.2.226 (which is the client's public IP) and FortiClient will fail to connect:

In this case, the policy route in the FortiGate firewall needs to specify the source address = 10.47.2.226 to fix the problem.
