I am setting up masquerading on a debian 1.3 box and I need to
figure out the rules I need to add.  The linux gateway machine has an
assigned ip (private of 10.0.0.1) and clients will be 10.0.0.2 and .2 and
so forth.  What ipfwadm rules do I need to add I was thinking the
following:

        ipfwadm -F -p deny
        ipfwadm -F -a m -S 192.168.1.2/32 -D 0.0.0.0
        ipfwadm -F -a m -S 192.168.1.2/32 -D 0.0.0.0

        my questions are....will these work if I assign the clients ips
*.2 and *.3?  Also, where do I add these rules?  rc.local?
        and 3rdly, will this all I have to do to get ip masq going,
granted I've compiled ip forwarding into my kernel?
        Can anyone help?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to