Linux Netfilter discussions
 help / color / mirror / Atom feed
* How are tunneled interfaces masqueraded?
@ 2015-07-01 14:55 Glen Huang
  2015-07-02 21:42 ` Pascal Hambourg
  0 siblings, 1 reply; 2+ messages in thread
From: Glen Huang @ 2015-07-01 14:55 UTC (permalink / raw)
  To: netfilter

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-02 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 14:55 How are tunneled interfaces masqueraded? Glen Huang
2015-07-02 21:42 ` Pascal Hambourg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox