I have an host in Amazon EC2 which is configured with an OpenVPN Access Server. The only client to this server is acting as a gateway from a private network. I installed StrongSWAN 5 on the same host to allow windows 7 and iOS clients to connect using IPSEC.
Both services works but what I cannot figure out is how to configure StrongSWAN to consider the OpenVPN tunnel endpoint as the only gateway available to clients.
Basically I want all the traffic that comes from IPSEC clients to be entirely forwarded to the OpenVPN tunnel.
The remote OpenVPN client that is exposing the private network has forwarding enabled and appropriate masquerading configured.
The only missing point is to have the OpenVPN tunnel as the gateway for IPsEC clients