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

Re: [Openvpn-users] trouble with OpenBSD, OpenVPN and bridge mode


  • Subject: Re: [Openvpn-users] trouble with OpenBSD, OpenVPN and bridge mode
  • From: jyblst <jyblst@xxxxxxxxx>
  • Date: Mon, 07 Feb 2005 13:16:34 +0100

Waldemar Brodkorb wrote:
Hi,
jyblst wrote,


I upgrade to OpenVPN 2.0rc6, and I still have problem.
Notice I changed IP adresses.


What exactly you try?

Hi,

I change the architecture this morning (before, the OVPN server
was inside the LAN and I used only one ethernet address).
Here is what I try to do :

           windows XP pro SP1
     OpenVPN client (192.168.1.x)         other stations
             |       (DHCP)                 | (don't use VPN)
         LAN |-------------------------------
             |
          firewall (fixed public IP)
             |
          INTERNET
             |
             |       DMZ     (192.168.34.6, fixed IP)
          firewall--------------OpenVPN server
(fixed       |                       | (192.168.35.x, DHCP)
public IP)   |                       |
             |  LAN (192.168.35.0)   |
           ---------------------------------------
                  |                              |
                  |                              |
               Windows NT                   other stations and servers
                share
            (192.168.35.2)
              (fixed IP)


I want the OVPN client to access the windows NT share.
In the OVPN documentation, I read that to exchange NETBIOS broadcast beetween a client and a server I have to use a bridged IP tunnel, not a routed IP tunnel.
I read the ethernet bridge howto and adapt it to an OBSD configuration.
(the bridge-start script).


Am I wrong ?

Thanks.
J-Yves

I do not exactly understand why do you use the OpenBSD bridge
commands.


My Windows XP PRO SP1 config file (openvpn client) :

port 50
verb 11
proto tcp-client
remote 55.66.77.88
dev tap
dev-type tap
ifconfig 10.1.0.2 255.255.255.0
ifconfig no-warn

An my OpenBSD 3.6 config file (openvpn server) :

port 50
verb 11
proto tcp-server
dev tun0
dev-type tap

Before running the openvpn server, I configured the bridge :

ifconfig tun0 link0
ifconfig bridge0 create
brconfig bridge0 add sis0
brconfig bridge0 add tun0
brconfig bridge0 up

And I can't ping any IP on the remote lan.

dev tun0

If this still not work, please post a complete log.

bye
  Waldemar




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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00121.html on line 249

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00121.html on line 249