IPsec pfSense VPN setup

http://blog.ijun.org/2012/05/install-ipsec-vpn-for-iphone-android-on.html

http://doc.pfsense.org/index.php/Mobile_IPsec_on_2.0

http://blog.benca.net/2012/03/05/serving-ipsec-vpn-with-pfsense/

L2TP:
http://thepracticalsysadmin.com/setting-up-an-l2tp-vpn-with-pfsense/

The problem:

I wasn’t able to connect to VPN after configure it, the client report “connection to server failed”, after some i discover that the problem was in the port port forward. As reported here http://doc.pfsense.org/index.php/VPN_Capability_IPsec

You may also need to check your WAN rules to ensure that the traffic from the remote pfSense host is allowed. IPsec uses UDP port 500, and protocol ESP (or AH if set that way). If you have trouble establishing a tunnel, check the firewall logs (Status > System Logs, Firewall tab), and if blocked packets are seen, add appropriate rules to allow that traffic.

you need to setup a NAT rule like this one

Untitled-1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s