Cant route between two interface...

Kernels & Hardware, configuring network, installing services

Cant route between two interface...

Postby jagdtigger » 2017-07-01 17:12


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 via dev tap0

But for some reason it just doesnt work, im still a noob in regards of networking... :D I hope someone can help me.

Thanks in advance for the help :) .
User avatar
Posts: 11
Joined: 2017-06-05 13:33

Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests