Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 1998 22:02:06 +0900
From:      Akihiko Hayashi <hayashi@totalware.gifu.gifu.jp>
To:        stable@FreeBSD.ORG
Subject:   ftp via 2.2-stable natd
Message-ID:  <199807041302.WAA05882@ns.totalware.gifu.gifu.jp>

next in thread | raw e-mail | index | archive | help
I am using 2.2-stable natd machine.
>From about Jul.1, 2.2-stable natd can't process ftp.

/usr/src/sys/netinet/* is backed to 98062?, and rebuild kernel,
this problem is not appeared.

Test machines:

    tx0 100BaseTX     de0   ed0 10Base
      +-----------------+   +---------- router ... internet
      |                 |   |
2.2-stable98062?   2.2-stable98070x
    client0              nat0

At machine client0
ftp get internet internet ftp hosts
file size is about 500KB

ftp program says,
"Connection reset by peer"
"421 Service not available, remote server has close connection"

At machine nat0
kernel options:
IPFIREWALL
IPDIVERT

/etc/rc.conf:
firewall_enable="YES"
gateway_enable="YES"

natd command:
natd -interface ed0

ipfw command:
ipfw -f flush
ipfw add divert natd all from any to any via ed0
ipfw add pass all from any to any


----
hayashi@totalware.gifu.gifu.jp



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



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