[wellylug] iptables

Jamie Baddeley wellylug at vpc.co.nz
Sat Mar 26 13:22:16 NZST 2005


On Sat, 2005-03-26 at 10:44 +1200, Cliff Pratt wrote:
> > no NAT happening.  I'm stuffed if I know why. The only thing I can think
> > of is that the tun0 interface for some reason is not actually positioned
> > postrouting as far as iptables is concerned...
> > 
> > Has anyone seen this? Or is there another way to make iptables do the
> > right thing?
> > 
> Is forwarding switched on?
> 
> That is, is /proc/sys/net/ipv4/ip_forwarding is set 1?
> 

Yep. The thing successfully nats to an ethernet interface.

>  From my limited experience, I'd say that MASQ is the way to 
> since you are coming from one IP address to many.

That was the conclusion I  came to.


Hmmmmm....It can't be a bug, surely?

jamie




More information about the wellylug mailing list