All of lore.kernel.org
 help / color / mirror / Atom feed
From: "George Vieira" <georgev@citadelcomputer.com.au>
To: jerome@gmanmi.tv, Ralf Spenneberg <lists@spenneberg.org>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: RE: iptables help..
Date: Mon, 13 Oct 2003 13:04:05 +1000	[thread overview]
Message-ID: <09B04A55822EFF4DA48D2E0BB2941D4A15C4A0@wardrive.citadelcomputer.com.au> (raw)

> > FORWARD -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
You have it accepting packets before it gets LOGged.. Put the LOG line above all others..
> > -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
> > -A FORWARD -p tcp -j LOG --log-prefix "FORWARD packets:"

Also, if your DNATing to a local webserver on the same network, it won't work without a SNAT as per jeromes suggestion as you have to make it look like the firewall is MAQUERADing your lan to an outside address BUT it's really inside, so your webserver will see all packets as the firewall and not local hosts...

Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au

Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au

Phone   : +61 2 9955 2644
HelpDesk: +61 2 9955 2698
 

> -----Original Message-----
> From: JM [mailto:jerome@gmanmi.tv]
> Sent: Monday, 13 October 2003 1:12 PM
> To: Ralf Spenneberg
> Cc: Netfilter
> Subject: Re: iptables help..
> 
> 
> hi,
> 
> i added LOGging on server_A
> 
> log all INPUT and FORWARD to messages log file... and for 
> some reason nothing 
> is comming up...
> 
> [ having nightmares on this.. : (  ]
> 
> TIA
> 
> 


             reply	other threads:[~2003-10-13  3:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-13  3:04 George Vieira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-31 11:41 iptables help Vikram Bhuskute
2005-04-04 12:08 Iptables help Vishwas Manral
2005-04-04  5:11 dpadalkar2001
2005-04-04 14:46 ` Henrik Nordstrom
2004-12-15 23:09 IPTABLES HELP Burton
2004-12-15 23:17 ` Jason Opperisano
2004-11-04  2:42 iptables help Wei Ming Long
2004-11-05 10:43 ` Harald Welte
2004-11-04  2:40 Wei Ming Long
2004-11-04  2:40 ` Wei Ming Long
2004-11-04 21:02 ` Jason Opperisano
2004-11-04 22:39 ` Bosse Klykken
2004-11-04  2:40 Wei Ming Long
2004-07-28 23:20 Ashley M. Kirchner
2004-07-29  6:32 ` Antony Stone
2004-05-31 16:20 iptables Help Daniel Chemko
2004-05-31 10:36 Vinay Poojary
2003-10-10  4:45 iptables help JM
2003-10-10  5:29 ` Ralf Spenneberg
2003-10-13  3:12   ` JM
2003-02-17  6:15 Laxman Gummadavally

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09B04A55822EFF4DA48D2E0BB2941D4A15C4A0@wardrive.citadelcomputer.com.au \
    --to=georgev@citadelcomputer.com.au \
    --cc=jerome@gmanmi.tv \
    --cc=lists@spenneberg.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.