Sounds logical, but doesn't work. It seems that iptables does not affect the client-client option.
I found this
http://backreference.org/2010/05/02/controlling-client-to-client-connections-in-openvpn/#comment-10735 article today, sounds like exactly what I need, but I cant make it work either. The article states to remove the client-client and then setup iptables to forward. I cant make the forwarding work. :roll:
Ive also found that if I do a traceroute from 10.5.0.21 > 10.5.0.25 its trying to route over the internet not the VPN server. My 10.5.0.21 route table looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.5.0.22 * 255.255.255.255 UH 0 0 0 tun0
10.5.0.1 10.5.0.22 255.255.255.255 UGH 0 0 0 tun0
192.168.100.0 10.5.0.22 255.255.255.0 UG 0 0 0 tun0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default DD-WRT 0.0.0.0 UG 0 0 0 eth0
If im pinging 10.5.0.25 , that would be on a different subnet (10.5.0.24). Do I need to push route(s) for the local VPN subnets?