Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 14:51:18 -0500 (EST)
From:      "Kevin S. Brackett" <ksb@platypusgroup.com>
To:        freebsd-current@freebsd.org
Subject:   IPDIVERT problem?
Message-ID:  <20030321144208.U96640@tsunami.platypusgroup.com>

next in thread | raw e-mail | index | archive | help
The system is running FreeBSD 5-current, cvsup'd yesterday.

dmesg:

Mar 19 13:05:23 hades kernel: ipfw2 initialized, divert enabled,
rule-based forwarding enabled, default to accept, logging limited to 100
packets/entry by default
Mar 19 13:05:23 hades kernel: DUMMYNET initialized (011031)
Mar 19 13:05:23 hades kernel: IPv6 packet filtering initialized, default
to accept, logging limited to 100 packets/entry

rc.firewall:

${fwcmd} add 50 divert natd all from any to any via ${natd_interface}

error:

ipfw: opcode 50 size 1 wrong
getsockopt(IP_FWD_ADD): something something

kernel conf:

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_FORWARD
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD
options         IPV6FIREWALL
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=100
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
options         DUMMYNET
options         IPDIVERT

any ideas?

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




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