I just wanted to post this here in case anyone else runs into this as well.
in order to reach a LAN subnet behind a client you will need to set up a
client-config file (CCD file) using the appropriate 'iroute' statement.
Read up at
http://openvpn.net/index.php/open-source/documentation/howto.html#scope
for more details.
Basically, the openvpn process needs to be told that the network
10.5.29.0/24 can be found via client 'apmobsd50'
HTH,
JJK
It was the addition of the ccd directory and the iroute statements in the common name file in that directory that was the key.
Thanks again Jan!
(here's the pudding)
# hostname
vpn01
# ping -c 5 10.5.29.92
PING 10.5.29.92 (10.5.29.92): 56 data bytes
64 bytes from 10.5.29.92: icmp_seq=0 ttl=58 time=36.175 ms
64 bytes from 10.5.29.92: icmp_seq=1 ttl=58 time=38.887 ms
64 bytes from 10.5.29.92: icmp_seq=2 ttl=58 time=35.332 ms
64 bytes from 10.5.29.92: icmp_seq=3 ttl=58 time=36.884 ms
64 bytes from 10.5.29.92: icmp_seq=4 ttl=58 time=38.760 ms
--- 10.5.29.92 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 35.332/37.207/38.887/1.424 ms
# hostname
vpn01
# tcpdump -ttt -e -nvi tun1 icmp
tcpdump: listening on tun1, link-type LOOP
Feb 07 11:03:58.313631 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:0) (ttl 255, id 24112, len 84)
Feb 07 11:03:58.349649 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:0) (ttl 58, id 5962, len 84)
Feb 07 11:03:59.319786 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:1) (ttl 255, id 23060, len 84)
Feb 07 11:03:59.358604 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:1) (ttl 58, id 5963, len 84)
Feb 07 11:04:00.329817 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:2) (ttl 255, id 29059, len 84)
Feb 07 11:04:00.365084 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:2) (ttl 58, id 5964, len 84)
Feb 07 11:04:01.339922 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:3) (ttl 255, id 26516, len 84)
Feb 07 11:04:01.376736 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:3) (ttl 58, id 5965, len 84)
Feb 07 11:04:02.350018 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:4) (ttl 255, id 41159, len 84)
Feb 07 11:04:02.388712 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:4) (ttl 58, id 5966, len 84)
# hostname
apmobsd50
# tcpdump -ttt -e -nvi tun0 icmp
tcpdump: listening on tun0, link-type LOOP
Feb 07 11:03:58.329103 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:0) (ttl 255, id 24112, len 84)
tcpdump: WARNING: compensating for unaligned libpcap packets
Feb 07 11:03:58.339375 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:0) (ttl 58, id 5962, len 84)
Feb 07 11:03:59.339379 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:1) (ttl 255, id 23060, len 84)
Feb 07 11:03:59.348179 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:1) (ttl 58, id 5963, len 84)
Feb 07 11:04:00.343590 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:2) (ttl 255, id 29059, len 84)
Feb 07 11:04:00.354609 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:2) (ttl 58, id 5964, len 84)
Feb 07 11:04:01.355560 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:3) (ttl 255, id 26516, len 84)
Feb 07 11:04:01.366321 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:3) (ttl 58, id 5965, len 84)
Feb 07 11:04:02.366360 10.8.0.1 > 10.5.29.92: icmp: echo request (id:62c4 seq:4) (ttl 255, id 41159, len 84)
Feb 07 11:04:02.378161 10.5.29.92 > 10.8.0.1: icmp: echo reply (id:62c4 seq:4) (ttl 58, id 5966, len 84)