raw socket and iptables rules

From: Gabor Fekete
Date: Thu Apr 10 2008 - 07:50:23 EST


Hi,

I'm writing a C code that sends IP datagrams using a RAW socket.
The only problem I have is that it seems that the MASQUERADE rule
I have does not apply for the packets sent via this socket.

Is it so, that raw sockets bypass iptables?
What can I do to make iptables to process these packets?

Thanks,
Gabor
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html