|
|
Canhua wrote: > 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. > > Could any guy help me find out where the problem is ? Thanks a lot! > Were there any errors or warnings prior to the "Initialization completed"? Any firewall on client? You don't show your remote directive for the client - is that IP address with port 1194 being forward to your server by your router? ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users |