NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bridge with tap - trying to set up openvpn server

On Mon, Apr 04, 2011 at 08:20:27AM -0400, 
> I'm running on i386, NetBSD 5_Stable branch.
> I'm trying to set up an openvpn server on my home network
> (<10 vpn devices).
> I am wanting to use bridged mode because I want the vpn
> connections to see the internal network resources.
> My internal network was (main server/gateway/
> NAT/DHCP/firewall/DNS is on
> I have recompiled the kernel with bridging support.
> The internal interface, wm1, was specified with
> netmask
> To allow some of this subnet for the tap0 interface, I changed
> the wm1 netmask to I set up the tap0 interface
> to netmask
> With this setup the internal network operates fine before I try
> to turn on bridging.

If you use bridging, you have the same netmask everywhere.
So wm1 says as, tap0 doesn't have an interface
(as its packets will be bridged to wm1).

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index