From: Oliver Jehle Subject: Conntrack dst= IP Address in /proc/net/conntrack wrong Date: Thu, 16 Dec 2004 18:12:13 +0100 Message-ID: <1103217133.2076.397.camel@vorab.monex.li> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org I've a strange effect. if 2 networks connected with IPSEC / Linux 2.6.9 neta - gwa - ipsec tunnel - gwb - netb neta 192.168.1.0 gwa 192.168.1.254 netb 192.168.2.0 gwb 192.168.2.254 when i open an ssh session from neta to netb it works and the conntrack entry looks like this on gwb: tcp 6 431015 ESTABLISHED src=192.168.2.2 dst=192.168.1.100 sport=33121 dport=22 packets=347 bytes=27765 src=192.168.1.100 dst=192.168.2.2 sport=22 dport=33121 packets=225 bytes=43197 [ASSURED] use=1 but when i try from netb to neta, then the entry looks like this on gwb: tcp 6 118 SYN_SENT src=192.168.1.100 dst=192.168.2.2 sport=54803 dport=22 packets=1 bytes=60 [UNREPLIED] src=192.168.2.2 dst=192.168.1.1 sport=22 dport=54803 packets=0 bytes=0 use=1 the dst= ipadress has the adress of the ipsec gateway instead of the correct address. I've no nat rules for the connection. Is this a known effect ?