How are tunneled interfaces masqueraded?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm having difficulty wrapping my head around the concept of masquerading a tunneled interface. I'd be grateful if someone could shed some light on it.

First, just to make sure I understand the masquerade target right. If I masquerade a pppoe interface that connects a host to its ISP, and although ethernet frames encapsulating ppp frames travel through this interface, netfilter digs into the ppp frames and translate the encapsulated IP packets. Is this correct?

If so, what about the case where the ppp interface is tunneled? Let's take pptp for an example. If a ppp interface is created with pppd, then tunneled through GRE by pptpd, and i masquerade that ppp interface, as outbound packets travel through it, what packets are translated? The ones that travels in the virtual ppp interface or the ones that is generated by pptpd and get sent to the outside world?

Thank you very much.--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux