[Shorewall-users] iptables: Invalid argument

Phil Tomson
Wed, 10 Sep 2003 10:42:05 -0000

On 10 Sep 2003, Ed Greshko wrote:

> On Wed, 2003-09-10 at 16:11, Phil Tomson wrote:
> >  just tried the uninstall-reinstall idea.  Problem still exists.
> >
> > The offending iptables command is this (from the trace):
> > iptables -t nat -A ppp0_masq -s 255.255.255.255/32 -d 0.0.0.0/0 -j
> > MASQUERADE
>
> The command you cite above looks rather odd to me....
>
> On my system I see the following...
>
> iptables -t nat -A eth0_masq -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQUERADE
>
> where 192.168.1.0/24 is the network address of eth1...
>

Hmmmm.... I thought the  255.255.255.255 was a bit odd.

Any idea how that number is determined?

Phil