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

[Openvpn-users] Setting up openVPN in bridging mode on Debian testing


  • Subject: [Openvpn-users] Setting up openVPN in bridging mode on Debian testing
  • From: Mike Whitaker <mike@xxxxxxxxxxx>
  • Date: Tue, 15 Mar 2005 09:18:21 +0000

I'm running into some problems here, which are probably me not understanding something.

I have a server behind a NAT router (a 3Com ADSL router/modem, in fact), which I'm trying to get working as an OpenVPN server.

As we have a bunch of folks using both Mac and Windows needing access to Samba shares and other hosts on the LAN, I went for bridging mode rather than routed.\
The server has one NIC, IP address 192.168.1.100 (although we'll probably change the network to something more obscure once this all works).


If I do:
---8<-------
openvpn --mktun --dev tap0
brctl addbr br0
brctl addif br0 tap0
ifconfig eth0 0.0.0.0 promisc up
ifconfig tap0 0.0.0.0 promisc up
ifconfig br0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
brctl addif br0 eth0
---8<------

networking on the server locks up (can't ssh, telnet, have to reset networking and kill the bridge i/f on the console)

I get the following in daemon.log:

--8<-----
daemon.log:Mar 13 18:45:06 office ovpn-server[24951]: OpenVPN 2.0_rc16 i386-pc-linux [SSL] [LZO] [EPOLL] built on Feb 20 2005
daemon.log:Mar 13 18:45:06 office ovpn-server[24951]: TUN/TAP device tun0 opened
--8<-----


and the following console messages:

--8<-----
device tap0 entered promiscuous mode
br0: port 1(tap0) entering learning state
br0: port 2(eth0) entering learning state
br0: no IPv6 routers present
tap0: no IPv6 routers present
br0: topology change detected, propagating
br0: port 1(tap0) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth0) entering forwarding state
--8<-----

What am I doing wrong?


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