[Shorewall-users] iptables: Invalid argument

Eduardo Ferreira
Wed, 10 Sep 2003 11:17:31 -0000

me thinks it depends on the type of service you get.  I use a ADSL
connection via ppp0 and in my shorewall interfaces file I read:

net     ppp0    -       norfc1918,dhcp,routefilter,tcpflags

I use ''-'' instead of ''detect'' in the
broadcast column following the
guidelines of the interface files (and the 3rd example in the same file).
works here...

HIH,

Eduardo Ferreira





Phil Tomson <ptkwt@aracnet.com>
Sent by: shorewall-users-bounces@lists.shorewall.net
10/09/2003 14:40
Please respond to
Shorewall Users Mailing List <shorewall-users@lists.shorewall.net>


To
Shorewall Users Mailing List <shorewall-users@lists.shorewall.net>
cc

Subject
Re: [Shorewall-users] iptables: Invalid argument








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

_______________________________________________
Shorewall-users mailing list
Post: Shorewall-users@lists.shorewall.net
Subscribe/Unsubscribe:
http://lists.shorewall.net/mailman/listinfo/shorewall-users
Support: http://www.shorewall.net/support.htm
FAQ: http://www.shorewall.net/FAQ.htm