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

[Openvpn-users] problem with server mode


  • Subject: [Openvpn-users] problem with server mode
  • From: Canhua <dreameration@xxxxxxxxx>
  • Date: Mon, 10 Sep 2007 09:37:58 +0800

hi all, I set up openvpn in server mode. My configuration file for the
server is shown as follows:

local *.*.*.*
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
mode server
tls-server
ifconfig 10.137.0.1 10.137.0.2
ifconfig-pool 10.137.0.100 10.137.0.200
push "route 10.137.0.0 255.255.0.0"
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3

And the following is the conf for client:

client
dev tun
proto udp
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
comp-lzo
verb 3
keepalive 10 120

Now, I start both the server and client, and succed as the verbose
output show:"Initialization Sequence Completed".
And I found that on the server there appears a new interface "tun0",
whose inet address is 10.137.0.1 and P-t-P address is 10.137.0.2,
while on the client side there appears a new interface "tun0" whose
inet addres is 10.137.0.102 while P-t-P address is 10.137.0.101. Then
I could not ping 10.137.0.1 or 10.137.0.101 from the client side and
neither could I ping 10.137.0.2 or 10.137.0.102 from the server side.
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users