Skip to contentSkip to conversation

NATed internal IP leaking

DISCUSSION Paul Rice 1 participant 1 message Apr 13, 2009

lore
Share & tools
lore

Paul Rice

author
#0 lore raw

Hi Guys,

I'm using kernel version 2.6.25.16 and attempted this on 2.6.29 as well.

I'm using ppp0 to connect to verizon wireless and when using Masquerade NAT, I'm being told by verizon that my client IP's are coming across the ppp0 interface and they are terminating the connection. I have used 2.4 kernel doing the same thing with no issue like this.

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE is what I've used with success in the past.

My question is: Is there a way to keep internal ip's from leaking? I've experimented with dropping everything 192.168.0.0/24 on ppp0 interface but no joy.

Thanks,
Paul Rice