Martin Stenkilde <[EMAIL PROTECTED]> wrote:
>
> ipfwadm -F -p deny
> ipfwadm -F -a accept -S 192.168.1.0/24 -m

Shouldn't this be

    ipfwadm -F -a masquerade -S 192.168.1.0/24 -D 0/0

> /sbin/route add default gw 24.132.2.1 eth0

Shouldn't you have "metric 1" on there?  Instead of "eth0", which I
don't think is doing anything for you.

> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     *               255.255.255.0   U     0      0        2 eth1
> 24.132.2.0      *               255.255.254.0   U     0      0        1 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         *               0.0.0.0         U     0      0        9 eth0
> 
> ok..I guess the gw command did not work - not to worry, I will add it
> manually:

Why do you think the route didn't work?  How could you be working on
your machine remotely if the route wasn't working?  :)

> hmm.. 2 defaults ? - if I remove them, I loose connection to my box
> (working on it remotely!)

So it must have been working before you starting changing them... right?

Are your rc.local commands generating any errors and you're just not
seeing them?  List your ipmasq rulesets out, like this:

    ipfwadm -F -l -n

or

    ipfwadm -F -l -n -e

and see if you can spot the problem.

-- 
   [EMAIL PROTECTED] (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to