Strongswan and OpenVPN together
Posted
by
cmorgia
on Server Fault
See other posts from Server Fault
or by cmorgia
Published on 2012-09-26T21:39:23Z
Indexed on
2012/10/01
3:40 UTC
Read the original article
Hit count: 481
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
© Server Fault or respective owner