Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 17:50:07 GMT
From:      Mikhail <myicq1@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/93237: ipfw fwd not forward packets from local interfaces
Message-ID:  <200602121750.k1CHo7KW061953@www.freebsd.org>
Resent-Message-ID: <200602121800.k1CI0Gbl095905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93237
>Category:       i386
>Synopsis:       ipfw fwd not forward packets from local interfaces
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 18:00:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail
>Release:        FreeBSD 6.0
>Organization:
ZAO OKB RITM
>Environment:
FreeBSD gate.scenar.com.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Sun Feb 12 16:06:49 UTC 2006     
>Description:
gate have two external interfaces (80.68.4.2/255.255.255.240(rl0), 213.24.20.34/255.255.255.252 (ed0)) and one interface with ip from the subnet 80.68.3.104/255.255.255.248 (80.68.3.105).
default gateway is 213.24.20.33
subnet 80.68.3.104/255.255.255.248 must forward through 80.68.4.1

for forwarding packets i have next rules in my rc.firewall:
fwd 80.68.4.1  ip from 80.68.4.2 to any out via rl0
fwd 80.68.4.1  ip from 80.68.3.104/29 to any out via rl0

transmit information from/to internet to/from my ip's was successfully, except next adresses: 80.68.3.105 and 80.68.4.2.

when i ping 80.68.3.105 from internet i see echo-replays for my request (by tcpdump) on interface ed0.

it look like as known problem with FreeBSD 5.3 beta 4:
"Description 
  'ipfw fwd' don't forward packet for specified destination 
when packet ip_src is the same machine's. 
"
>How-To-Repeat:
from start 
>Fix:
i don't know. 
Thank you for your work!!!
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602121750.k1CHo7KW061953>