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

[Openvpn-users] openvpn with bridging kernel


  • Subject: [Openvpn-users] openvpn with bridging kernel
  • From: "Ludovic MARCILLY" <lmarcilly@xxxxxxxxx>
  • Date: Thu, 12 Apr 2007 16:07:04 +0000
  • Importance: normal
  • Priority: normal

Hi all,

here is my network:

Subnet1 -- Linux1 -- Router1 -------- Router2 -- Linux2 -- Subnet2

On subnet 1, for each box:
IP in 192.168.1.0/24
Gateway 192.168.1.254

Linux 1 with two ethernet cards which are bridged and with IP 192.168.1.253
Router 1 : 192.168.1.254 on LAN and 192.168.5.254 on WAN

On subnet 2, for each box:
IP in 192.168.2.0/24
Gateway 192.168.2.254

Linux 2 with two ethernet cards which are bridged and with IP 192.168.2.253
Router 2 : 192.168.2.254 on LAN and 192.168.5.253 on WAN

I am trying to create ssl tunnel between the two linux boxes. For example, consider linux 1 is the server and linux 2 is the client. I'am using certificates. I have successfully set up a vpn but i have to add route on each box on subnet 1 and 2 in order to reach the opposite subnet.

For example, on a PC on subnet 1:
route add 192.168.2.0 mask 255.255.255.0 192.168.1.253 (on Win XP)

and after that, trafic is well routed.

But, if i consider i have 500 boxes on my subnet 1, i can't add route on each box. Is there any solution to my problem ? If i bridge the tun interface with the 2 ethernet interface, will it work ?

Thanks a lot for your help.
Ludovic.



______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users