Wes Morriston <[EMAIL PROTECTED]> wrote:
>
> > > ipchains -P forward DENY
> > > ipchains -A forward -j MASQ -s 192.168.0.15/24 -d 0.0.0.0/0

My rules are very much like yours:

    /sbin/ipchains -P forward REJECT
    /sbin/ipchains -A forward -s 192.0.2.0/24 -i ppp+ -j MASQ

My rules work.  If your rules don't, there must be some silly reason for
it.  :)

The main thing I notice is that you have the source address with
192.168.0.15/24.  What is that .15 for?  That isn't the network address;
the network address should have all zero's in the host portion.  I don't
know if that's causing your problem, but you might try changing it; it
shouldn't make a difference.

I also don't specify a -d parameter at all, since that doesn't matter. 
I do specify the interface, though, because I only want to masquerade
connections routing through PPP.  However, this only restricts the
masquerade further, so it shouldn't make your situation any different.

Try playing with the options and the IP address to see if that makes a
difference.

-- 
   [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