Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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:

http://www.openbsd.org/cgi-bin/man.cgi?query=bridge&sektion=4&arch=&apropos=0&manpath=OpenBSD+Current

As requested here is the how-to:

http://www.chrisk.de/blog/2010/03/how-to-openvpn-on-openbsd-as-layer2-vpn/

share|improve this answer
add comment

Your Answer

 
discard

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.