So maybe you'll have to some bridging stuff and not netfilter/iptables ones ....
iptables/netfilter deals basically with Layer 3 (IP) packets and not layer 2 frames, which are the ones you're interested.
Arash Yadegarnia escreveu:
Thanks Jorge, I'm not using any specific VPN solution, Me and my colleagues are developing a secure VPN solution based on kernel TUN/TAP driver. Since we have full control over our tap interface we just need to redirect the whole traffic coming into the eth0 (from a LAN) into the tap interface, so we can read them (I mean Ethernet frames in Layer 2) and send them out from the other pysical interface (eth1). BTW, Redirecting a single or even multiple ports won't work in my situation, because I want whole traffic in layer 2, not a specific port number. Thanks, Arash
-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email gertrudes@xxxxxxxxxxxxxx My SPAMTRAP, do not email it
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature