Subject: OpenVPN Bridge Mode
To: None <netbsd-users@netbsd.org>
From: Brendon Costa <bcosta@avdat.com.au>
List: netbsd-users
Date: 06/27/2006 12:18:12
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

	I am trying to set up OpenVPN on my server to work in bridge
mode so I can browse windows shares and have the DHCP server allocate
IP addresses for VPN clients. I have successfully got it working with
the tun interface, but was wondering if anyone has gotten a working
openvpn bridge configuration with NetBSD?

	There seems to be little information about setting up OpenVPN on
NetBSD in bridge mode. I found something for FreeBSD but that differs
as well and will not work.

	If anyone has any working config for this i would love to see it. I
am unsure how to setup the tun0 device before starting openvpn. I
think i know how to bridge it when i am done though:


I.e.

- --rtk0 device is setup upon startup--

- --setup tun0 device-- ?? How to do this?

- -- bridge the rtk0 and tun0 devices--
ifconfig bridge0 create
brconfig bridge0 add rtk0 add tun0 up


- --start openvpn---
openvpn server.conf

If anyone can help with this i would greatly appreciate it.
Thanks,
Brendon Costa.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEoJVkPfREiUgoLqwRAnPOAJ9peEdwrd4HIXH8t2xfnXmtCPR97QCaAsdr
TmAZ3qwW9bkwcmjvvlahRz8=
=vi9j
-----END PGP SIGNATURE-----