My first time setting up OpenVPN and I've been looking for what I think should be a simple configuration change. This is running on Ubuntu 11.04, OpenVZ (VPS), with OpenVPN 2.1.3-2ubuntu3. The configurations below work fine and the client can ping the server, I'd like to be able to ping the client from the server. The client in question is running OS X 10.7, using Tunnelblk. Thanks for any help!
Server config:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
route 10.8.0.0 255.255.255.0
keepalive 10 120
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Server routes:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
Client config:
client
dev tun
proto udp
remote x.x.x.x 1194
route 10.8.0.0 255.255.255.0
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ns-cert-type server
comp-lzo
verb 3
Client route:
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.0.0.1 UGSc 22 0 en0
10/24 link#4 UCS 3 0 en0
10.0.0.1 e0:91:f5:de:a4:5 UHLWIi 23 100 en0 983
10.0.0.5 127.0.0.1 UHS 0 0 lo0
10.0.0.6 0:19:e3:d3:96:6d UHLWIi 1 34 en0 1161
10.0.0.255 ff:ff:ff:ff:ff:ff UHLWbI 0 2 en0
10.8/24 10.8.0.5 UGSc 0 0 tun0
10.8.0.5 10.8.0.6 UH 1 0 tun0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 22 177962 lo0
169.254 link#4 UCS 0 0 en0