Im trying to create a "permanent" link between two LAN with openvpn(without NAT) and it has gone very well so far. Until i hit a brick wall with this RPI2. I just cant get it to forward packets. All the routing is fine at the server side since i was able to do it with my router, but i dont want to run openvpn on it 24/7. So far i did this after i enabled forwarding in the kernel:
Code: Select all
iptables -A FORWARD -i tap0 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o tap0 -j ACCEPT
ip route add 10.125.210.0/24 via 10.125.201.1 dev tap0
Thanks in advance for the help .