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

RE: [Openvpn-users] routing questions


  • Subject: RE: [Openvpn-users] routing questions
  • From: "Yaoning Tao" <tyaoning@xxxxxxxxxxx>
  • Date: Mon, 08 Aug 2005 08:29:36 -0400

Do you enable the IP forwarding on your server? If you use Linux machine. the IP forwarding function is closed by default. You can enable it by "echo 1 > /proc/sys/net/ipv4/ip_forward", by the way, if you reboot your machine, you need redo the command again, or you can edit the file /etc/sysctl.conf to chage the value of net.ipv4.ip_forward to 1, this will make Linux machine open IP forwarding function by default.

From: Glen <glenlist@xxxxxxxxxx>
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] routing questions
Date: Sun, 07 Aug 2005 21:33:59 -0400

Hi Everyone,
I am hoping someone can help route me in the right direction (sorry for the real bad pun). I have two vpns/adapters on my openvpn server. One for tcp and one for udp. I would like clients on both vpn's to talk to each other. I am unable to get this working. What should my routing be?


Both udp-client and tcp-client can ping 10.8.1.1 and 10.8.0.1 on the server and I can see the routes on both clients but they cannot ping each other... Do I need to add routing on the server too?

Here are the relevant bits from my config


------- server-tcp.ovpn local 10.10.10.42 port 443 proto tcp dev tun dev-node openvpn-tcp ca keys/ca.crt cert keys/server.crt key keys/server.key dh keys/dh1024.pem server 10.8.1.0 255.255.255.0 push "route 10.8.0.0 255.255.255.0" client-to-client



------- server-udp.ovpn
local 10.10.10.42
port 1942
proto udp
dev tun
dev-node openvpn-udp
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 10.8.0.0 255.255.255.0
push "route 10.8.1.0 255.255.255.0"
client-to-client



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users



____________________________________________ 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-08/msg00102.html on line 232

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-08/msg00102.html on line 232