Can anyone explain the following behavior?
Ping from client to server eth0 ip:
OK
18:16:28.144696 IP 10.8.0.6 > 10.0.0.A: ICMP echo request, id 1, seq 487, length 40
18:16:28.144746 IP 10.0.0.A > 10.8.0.6: ICMP echo reply, id 1, seq 487, length 40
Ping from client to server tun0 ip:
timeout
$ sudo tcpdump -i tun0 -n
tcpdump: 18:15:38.257406 IP 10.8.0.6 > 10.8.0.1: ICMP echo request, id 1, seq 486, length 40
(no response from server)
Ping from server to client:
unreachable
$ ping 10.8.0.6
connect: Network is unreachable
Server.conf (ccd and subnet 10.9.0.0 not used for this client)
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.0.0.0 255.255.0.0"
route 10.0.0.0 255.255.0.0
client-config-dir ccd
route 10.9.0.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 5
Server routes
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 10.8.0.2 255.255.0.0 UG 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.9.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
Server iptables set to allow everything AND stopped :evil: