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

I just tried to create a tap0 device the same way I created a bridge0
device and it seems to be working. I.e. I did the following:

on server
ifconfig tap0 create
ifconfig bridge0 create
brconfig bridge0 add rtk0 add tap0 up

start openvpn using tap0




on client
ifconfig tap0 create
start openvpn using tap0

This seems to work now (The OpenVPN client connests to the server and
is assigned the correct IP address), though there are some issues I
still need to sort out. I.e. I don't seem to be able to ping devices
on the LAN i.e. the clients tap0 device gets the address:
192.168.50.100 (Correct) and the servers rtk0 device has the address:
192.168.50.1 I cant ping the server at the moment, but I will look
into that.

Brendon.

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

iD8DBQFEoKjgPfREiUgoLqwRAj1lAKDfDk4uckDtnwWItmgC3OWEmciMNQCfUcPQ
Y002boPUaNtRM27SKO9CE/4=
=cUM7
-----END PGP SIGNATURE-----