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

I'd like to set up an OpenVPN server on my OpenBSD router.

I'd like to run it in bridged mode, so the IPs given to the road warriors are from the local network subnet. I'd like to use the DNS server of OpenVPN for those clients.

I found some tutorials on how to do this, but most seem to be out of date, to the point that it's virtually impractical to use anything from it.

Do I have to compile it from ports, isn't installing with pkg_add sufficient?

Could someone please point me to a how-to that is somewhat up-to-date?

share|improve this question

This is pretty easy using openvpn. You will need to setup your server to use a specific tap interface. Then just use ifconfig to bridge tapX to your LAN interface. More info on bridge here:

As requested here is the how-to:

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.