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

Re: [Sheflug] Re: Routing Problem



On Thu, 4 Jan 2001, Richard wrote:

> Stephen
> 
> "Stephen J. Turnbull" wrote:
>  
> > I am vindicated.  I toldya to post the ipchains -L output.
> 
> Actually this doesn't work.  I had to do 'ipchains -L -n'.  Got that
> from Matt Palmer in Oz.
>  
Don't matter where it comes from - ipchains -L gives a textural listing,
-nL numeric.

man ipchains states that the "unresolved" (ie hostname/portname
etc) behaviour is the default.

Snipped output of ipchains -L - note the "anywhere"......

Chain input (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  anywhere             anywhere              n/a
ACCEPT     all  ------  192.168.1.0/24       192.168.1.0/24        n/a
ppp-in     all  ------  anywhere             anywhere              n/a
Chain forward (policy DENY):
target     prot opt     source                destination           ports
ACCEPT     all  ------  192.168.1.0/24       192.168.1.0/24        n/a
ACCEPT     all  ------  192.168.1.0/24       anywhere              n/a
MASQ       all  ------  192.168.1.0/24       anywhere              n/a

Snipped output of the same section using ipchains -nL - where the
"anywhere" is now resolved to the ip address 0.0.0.0/24 ....

Chain input (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  0.0.0.0/0            0.0.0.0/0             n/a
ACCEPT     all  ------  192.168.1.0/24       192.168.1.0/24        n/a
ppp-in     all  ------  0.0.0.0/0            0.0.0.0/0             n/a
Chain forward (policy DENY):
target     prot opt     source                destination           ports
ACCEPT     all  ------  192.168.1.0/24       192.168.1.0/24        n/a
ACCEPT     all  ------  192.168.1.0/24       0.0.0.0/0             n/a
MASQ       all  ------  192.168.1.0/24       0.0.0.0/0             n/a




-- 
========================================================================
|                 Paul Sims (wulfie [at] wulfric7.co.uk)                    |
|----------------------------------------------------------------------|
|  SpireLUG - the Chesterfield Linux User Group - www.spirelug.org.uk  |
|              For lug info send mail to info [at] spirelug.org.uk          |
========================================================================


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.