|
|
You could add the route on the gateway instead of on each individual subnet machine. HTH, Serge. http://www.apptranslator.com > -----Original Message----- > From: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx > [mailto:openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On > Behalf Of Ludovic MARCILLY > Sent: jeudi 12 avril 2007 18:07 > To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx > Subject: [Openvpn-users] openvpn with bridging kernel > > 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. > > > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > > ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users |