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

[Openvpn-users] subnet-subnet in OpenVPN 2.0


  • Subject: [Openvpn-users] subnet-subnet in OpenVPN 2.0
  • From: "M Lu" <mlu919@xxxxxxxxxxx>
  • Date: Sun, 24 Oct 2004 14:00:27 -0400

Hi,

Is that possible to run one instance of OpenVPN 2.0 and use it as Server to a couple of road-warriors and at the same time subnet to subnet with another Server? I do not know how to specify subnet to subnet in 2.0. Could anybody help me or give me a sample config?

Thank you.

---------------

My current 2.0 server.conf is something like that

# Which local IP address should OpenVPN
port 5000
proto udp
dev tun0
ca ca.crt
cert my_server.crt
key my_server.key
server 10.180.180.0 255.255.255.0
push "route 192.168.2.0 255.255.255.0"
..

and it works with road-warriors. Now I would like to add some settings so that my 192.168.2.x can talk to subnet 10.9.9.x behind another VPN server. Previously I have a separate config file (and the corressponding on the other end) with something like

--  END POINT 1 ---
dev tun0
port 5000
remote 1.2.3.4
ifconfig 10.180.180.1 10.180.180.2
secret secret.key
route 192.168.2.0 255.255.255.0 10.180.180.2
..


-- END POINT 2 --- port 5000 dev tun0

remote 5.6.7.8
ifconfig 10.180.180.2 10.180.180.1
secret secret.key
route 10.9.9.0 255.255.255.0 10.180.180.1
-----------



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