Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2002 01:20:32 -0300
From:      "Ivan Coimbra" <ivan@sunline.com.br>
To:        <freebsd-ipfw@FreeBSD.ORG>
Subject:   IPFW really doesn't work with non-local adresses!!!
Message-ID:  <000e01c1bcea$9ac5ada0$11cad5c8@mshome.net>

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

I am using FreeBSD 4.5, totally updated by the last RELENG_4.
Internal Interface: 10.2.7.89
External Interface: 200.122.56.78
I need use the ipfw forward (NO NAT!!!), the packages cannot be changed, it
has to maintain its original source!
My active options in kernel are:
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
net.inet.ip.forwarding: 1
Rules:
su-2.05a #ipfw show
00100 20 1053 fwd 10.2.7.89,25 tcp from any to any 80
65535 20758 3155253 allow ip from any to any

This works perfectly, because 10.2.7.89 are a local address!!

But when I try with non-local addresses:
su-2.05a #ipfw show
00100 20 1053 fwd 10.2.7.90,25 tcp from any to any 80
65535 20758 3155253 allow ip from any to any

NOTHING WORKS!!

PS: 10.2.7.90 are the same network!

Can anybody help me??
There are days I don't get any answer!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c1bcea$9ac5ada0$11cad5c8>