How to route packets from tunnel interface to ethernet 0?
I have created tunnel in ubuntu using /dev/net/tun. when I send packets from eth0 interface to tunnel ip address. able to receive Packets using tunnel read. which I can see it in wireshark.
But when I write packets through the tunnel with destination address as eth0 address. packets doesn’t reaches eth0 interface. I tried iptables for routing, Also I changed net.iv4.ip_forward = 1 in sysctl.conf file .but it doesn’t work.How to configure IP tables ? Help me to resolve this issue.