Problem1: ovpn clients cannot ‘ping’ each other when configured for ‘fixed’ leases.
Observation: there’s no route for x.x.x.y by default
Solution: edit xxx.ovpn on clients side and add:
route x.x.x.y 255.255.255.0
Problem2: opvn clients cannot ping clients on the green network
observation: the packets are not natte’d
solution: on ipcop, execute:
iptables -t nat -A CUSTOMPOSTROUTING -s 10.0.2.0/24 -o eth0 -j MASQUERADE
Where 10.0.2.0 is your OpenVPN Network Information and eth0 is your green LAN card
sources:
http://thinkhole.org/wp/2006/03/28/ipcop-openvpn-howto/
http://www.openvpn-forum.de/viewtopic.php?t=2448
Advertisement