Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 11:27:29 -0800
From:      Adam Wiggins <wiggins@treyarch.com>
To:        freebsd-questions@freebsd.org
Subject:   divert
Message-ID:  <200002141135.SM00233@adam>

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

I'm having trouble getting NAT working with 3.4.  Previously I had it
working fine with 2.2.7, and I'm setting both the systems up identically.
Mainly I set the proper options for natd_* in rc.conf, but the rc.firewall
command to add the divert line is failing.  Doing it manually I see:

# ipfw add 100 divert natd all from any to any via mx1
00100 divert 8668 ip from any to any via mx1
ipfw: setsockopt(IP_FW_ADD): Invalid argument
#

I'm running the stock kernel, which appears to have all the options I need
compiled in (namely, IPFIREWALL and IPDIVERT).
Natd is running fine using mx1 as the interface; so what's going on?




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




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