If you have control of both the client and server, I strongly recommend that you drop the IPSEC-based VPN and use OpenVPN. There are packages for this in the EPEL repo. Configuration is much easier. Issues such as firewall configuration are much simpler.

Whoever wrote:If you have control of both the client and server, I strongly recommend that you drop the IPSEC-based VPN and use OpenVPN. There are packages for this in the EPEL repo. Configuration is much easier. Issues such as firewall configuration are much simpler.

I want that but i must to connect that with openswan. I tried to find solution on Google but i can't found. What should i do to solve that problem?

Whoever wrote:If you have control of both the client and server, I strongly recommend that you drop the IPSEC-based VPN and use OpenVPN. There are packages for this in the EPEL repo. Configuration is much easier. Issues such as firewall configuration are much simpler.

OpenVPN is the best way to solve this issue, i have tried and fixed it