Skip to contentSkip to conversation

Interface forwarding

DISCUSSION Arash Yadegarnia 1 participant 1 message Aug 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi, :)

I'm working on a special sort of VPN. I'm suppose to do it using TUN/TAP driver. All I need is to forward (or any other appropriate technical term) all traffic from a physical interface (eth0) into my tunnel interface (tap0), so I can modify them and send them out.

Frankly, I'm not sure that it can be done with iptables but since I'm having serious headaches using bridge (bridging eth0 with tap0) to capture those packets, well, I thought maybe you guys can help me. :)

Thanks,