br0| |-- tun10 -pipe-tun0(126.96.36.199) |-- tun11 -pipe-tun1(188.8.131.52) |-- tun12 -pipe-tun2(184.108.40.206)
The pipe program is a custom program that forwards data back2back between two tun interfaces.
The idea is puting 2 programs in .2 and .3 while keeping .1 as the local interface in the current machine. The main problem is that I want to route packets to .2 and to .3 through .1 and br0, but as they are local interfaces, the kernel ignores any routing instruction, it just delivers the packet to the proper interface.
Tried iptables, but the nat table doesn't even see ping packets to those ifaces. A "ping 220.127.116.11" delivers a icmp packet with source and dest .2 to tun1, ideally it should deliver a source .1 dest .2 at tun1 through tun0-br0-tun1
Here the output of some commands: