[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipmasq and howto



On Fri, Mar 31, 2000 at 11:02:15PM -0500, Jeff Gordon wrote:
> ...and you should see "(policy ACCEPT)" for the three 'chains'. If
> that's okay, do:
> 
>  ipchains -M -L
> 
> ...and see if the MASQ entry is still present -- dunno why yet, but
> we're experiencing that entry's disappearance from time to time; 'diald'
> or somebody is deleting it, I think, when being taken down, and not
> putting it back up again.

I executed "ipchains -P forward ACCEPT" for the three default chains
(forward, output, intput), so that I could in fact have "(policy ACCEPT)"
for all three chains.

But when I do the "ipchains -M -L" I have no entries, even after
executing the following line:

	ipchains -A forward -s 192.168.0.0/24 -d 0/0 -j MASQ

I even went through and did a "ipchains -F <chain>" for all chains
(output, input, forward).  The I re-did the line above, so my output of
"ipchains -L" looks like the following:

Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
target     prot opt     source                destination           ports
MASQ       all  ------  home/24              anywhere              n/a
Chain output (policy ACCEPT):

But still when I do "ipchains -M -L" I don't get anything.

Any ideas?

Thanks as always,
Matt

-- 
Matt Garman, garman@ews.uiuc.edu
"I was just reading the interview with Korn in _Guitar_World_, and one of
 the guitarists said they don't play guitar solos because they've been
 done.  Well, I guess that's true if you stick with what's been done.
 But you have to look beyond that; there's a lot more left to say on the
 guitar."  -- Warren Haynes of Gov't Mule


Reply to: