Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone? As I guess, the server should have ability to manage incoming connections, but I don't know to do that. And how to integrate the management system with VPN?

share|improve this question

The MPD project is the most up to date FreeBSD remote connection daemon. It provides a variety of connectivity including L2TP. See the project's homepage for more information and documentation.

Alternatively, you can go the old way of using a dedicated L2TP daemon. I found a link to a lousy article on setting up FreeBSD for iPhone VPN connections. It seems to be current enough that it would work, most of these older L2TP daemon projects are abandoned at this point though.

Basically you need:

  • The kernel recompiled with all the IPSec stuff
  • Racoon (IKE Daemon) from the ipsec-tools port
  • A L2TP Daemon like xl2tpd, openl2tp, or l2tpns

Other parts/layers are optional and will depend on your exact situation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.