[MLIST] [olug] Firewall Newbie needs help

David Walker linux_user at grax.com
Wed Mar 5 16:19:31 UTC 2003


Looks like you need to specify the source network with something like 
"-s 192.168.5.0/24"
On Wednesday 05 March 2003 10:10 am, Mike Hostetler wrote:
> I've finally got around to getting my wife's old PC out of the closet,
> putting another NIC card into my Linux box, and then have two machines
> using my Cox connection.  (The other machine now has BeOS R5 installed,
> which is pretty cool, even though it isn't much more than a plaything).
>
> I have both machines up and going, reconfigured the kernel (2.4.20)
> as a router, and shut off ICMP, martians, etc. within /proc.
>
> Now I'm working my my tables. From the various help on the net, this
> should work, but doesn't:
>
> gideon linux-2.4.20-gentoo-r1 # iptables -t nat -A POSTROUTING -o eth0 -j
> MASQUERADE
> iptables: Invalid argument
>
> What argument isn't valid?
>
> -- mikeh
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug




More information about the OLUG mailing list