All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kent Wang" <kwang@kwang.org>
To: 'George Vieira' <georgev@citadelcomputer.com.au>,
	netfilter@lists.netfilter.org
Subject: RE: IP forwarding on port 80
Date: Fri, 13 Jun 2003 02:24:34 -0500	[thread overview]
Message-ID: <002201c3317c$d9fc6b50$0300a8c0@eclipse> (raw)
In-Reply-To: <09B04A55822EFF4DA48D2E0BB2941D4A0D6E89@wardrive.citadelcomputer.com.au>

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

OK, more info. My belief is that the packets are not being DNAT'd
properly. I added this to that chain:

 

-A PREROUTING -j LOG --log-prefix "test" --log-level 7

 

And was able to log all the incoming HTTP packets. I then added these
two:

 

-A FORWARD -p tcp -m tcp --dport 80 -j LOG --log-prefix "test"
--log-level 7 

-A OUTPUT -p tcp -m tcp --dport 80 -j LOG --log-prefix "test"
--log-level 7

 

A properly DNAT'd packet should pass through FORWARD and then OUTPUT,
but I found nothing in the log. Is it possible that the DNAT module
isn't loaded?

 

I've done tcpdump and the firewall definitely always receives the
internet-incoming message and the web server never receives it.

 

Any clues?

 

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of George Vieira
Sent: Thursday, June 12, 2003 5:18 PM
To: Kent Wang; netfilter@lists.netfilter.org
Subject: RE: IP forwarding on port 80 

 

What debugging have you done? tcpdump, iptables logging, anything?

 

Does your web server have a default gateway of the firewall?

Thanks,

 

____________________________________________
George Vieira
Citadel Computer Systems Pty Ltd   Systems Manager   georgev AT
citadelcomputer DOT com DOT au   

Citadel Computer Systems Pty Ltd

Phone : +61 2 9955 2644   HelpDesk: +61 2 9955 2698
<http://www.citadelcomputer.com.au/>  http://www.citadelcomputer.com.au
<http://www.citadelcomputer.com.au/>  

 


[-- Attachment #2: Type: text/html, Size: 9275 bytes --]

  reply	other threads:[~2003-06-13  7:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12 22:18 IP forwarding on port 80 George Vieira
2003-06-13  7:24 ` Kent Wang [this message]
2003-06-13  8:05   ` Cedric Blancher
     [not found] <00b401c331da$246caf80$7035a8c0@hoeschen>
2003-06-13 20:45 ` kwang
  -- strict thread matches above, loose matches on Subject: below --
2003-06-12  7:17 Kent Wang
2003-06-10 22:08 kwang

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='002201c3317c$d9fc6b50$0300a8c0@eclipse' \
    --to=kwang@kwang.org \
    --cc=georgev@citadelcomputer.com.au \
    --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.