All of lore.kernel.org
 help / color / mirror / Atom feed
* netfilter resets TCP conversation that was DNATed from the local machine to another
@ 2003-06-28  3:50 Michael
  2003-06-29 21:55 ` Arnt Karlsen
  2003-06-30  2:01 ` Ramin Dousti
  0 siblings, 2 replies; 13+ messages in thread
From: Michael @ 2003-06-28  3:50 UTC (permalink / raw)
  To: netfilter

Dear netfilter gods,

I have a configuration, so:

/------------\ .0.2     .{0,1}.1 /----------\ 1.2.3.4  (          )
| Web server |-----+-------------| firewall |---------(  Internet  )
\------------/     |        eth0 |  Squid   | eth1     (          )
                    |             \----------/
/---------\ .1.2   |
| browser |--------/
\---------/

- The 192.168.{0,1}. subnets run on the same wire.
- Port 80 on the public i/f is DNATed to the internal Web server.

The firewall is running Squid to proxy for 192.168.1. clients, and it 
works fine *except* when the target server resolves to a public IP on 
eth1.  When that happens, I see the client-to-Squid communication go OK, 
then Squid send a SYN (from .0.1) to .0.2:80, .0.2 sends a SYN ACK,... 
but then netfilter spontaneously issues a RST to .0.2:80 from another 
port (i.e., not the one that Squid was using)!  I have no 
reject-with-tcp-reset lines in my tables.

What up?


Squid really doesn't belong on a firewall, but I'm curious to resolve 
this mystery first.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-07-02 21:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-28  3:50 netfilter resets TCP conversation that was DNATed from the local machine to another Michael
2003-06-29 21:55 ` Arnt Karlsen
2003-06-30  2:01 ` Ramin Dousti
2003-06-30  2:22   ` Michael
2003-06-30  5:12     ` Alistair Tonner
2003-06-30 14:29     ` Ramin Dousti
2003-06-30 14:44       ` Ray Leach
2003-06-30 14:52         ` Ramin Dousti
2003-06-30 20:07       ` Michael
2003-07-01  6:00         ` Alistair Tonner
2003-07-01 14:34           ` Ramin Dousti
2003-07-01 16:24           ` Michael
     [not found]             ` <200307020206.13952.Alistair@nerdnet.ca>
2003-07-02 21:39               ` Michael

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.