[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Is ethernet bridging possible on FreeBSD via OpenVPN?


  • Subject: Re: [Openvpn-users] Is ethernet bridging possible on FreeBSD via OpenVPN?
  • From: "Tom Bin" <openvpn@xxxxxxx>
  • Date: Thu, 4 Sep 2003 09:25:40 +0800

Hi, Alex


I am doing totally the same thing with you.
My OS is FreeBSD 4.4 and running bridged mode.
Openvpn on FreeBSD with bridged mode is working fine for me.
My XP can even get an IP address from FreeBSD via DHCP.

After reviewing your configuration, the only one question I want to know
is that if you explicitly set an IP address for your tap interface on
FreeBSD?

It seems not let IP traffice thru the bridged interface if you didn't assign
an IP address for the tap interface on BSD.


Tom


----- Original Message ----- 
From: "Alex K" <alex@xxxxxxx>
To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 04, 2003 9:12 AM
Subject: [Openvpn-users] Is ethernet bridging possible on FreeBSD via
OpenVPN?


> I've looked through all the documentation and the majority of it seems
> Linux specific.  I however am using FreeBSD and can't seem to figure
> out how to get ethernet bridging working.
>
> Here's what i've done so far.
>
> - Using OpenVPN 1.4.3 (compiled from source) on both machines (FreeBSD
> 4.8)
> - Using the if_tap.o module (installed from the ports)
> - Compiled BRIDGE support into the kernel, rebooted
> - Ran OpenVPN to create the tap0 interface
> - Set bridging via sysctl:
>
> net.link.ether.bridge_cfg: fxp0:1,tap0:1
> net.link.ether.bridge: 1
>
> Both interfaces are now promiscuous (fxp & tap), but when doing a
> tcpdump on either fxp or tap (can a tcpdump be done on tap?), traffic
> does not seem to be crossing over from the other end of the tunnel.
> What am I doing wrong??
>
> Here's the openvpn.conf i am using:
>
> dev tap
> remote 10.32.253.46
> secret /usr/local/etc/static.key
> port 5000
> comp-lzo
>
> I know that 10.32.253 is a private ip, but I'm working with a weird
> network topology and i've ensured both machines can reach each other
> (at least via ping).  They seem to report pinging events on either side
> of the tunnel when they occur on the tunnel so they are seeing each
> other.
>


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users