Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cant route between two interface...

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
jagdtigger
Posts: 15
Joined: 2017-06-05 13:33

Cant route between two interface...

#1 Post by jagdtigger »

Greetings.

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
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 :) .

Post Reply