Subject: misc/10295: ipnat vs. ipforwarding
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <wes@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 06/06/2000 05:37:12
>Number:         10295
>Category:       misc
>Synopsis:       ipnat vs. ipforwarding
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 06 05:38:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bill Sommerfeld
>Release:        20000606
>Organization:
	
>Environment:
	
System: NetBSD thunk 1.4ZA NetBSD 1.4ZA (VAIO) #70: Mon Jun 5 23:06:24 EDT 2000 root@:/usr/wes/sys-current/arch/i386/compile/VAIO i386


>Description:
Channelling for Paul Hoffman:

ipnat needs ip forwarding turned on in order to be anything more than
a waste of kvm.

There should be an rc.conf setting for IPv4 ip forwarding allowing you
to tweak this one way or the other.

/etc/rc.d/ipnat should notice if/when sysctl net.inet.ip.forwarding is
turned off and either whine, or fix it itself (exactly which doesn't
really matter to me).

>How-To-Repeat:
	turn on ipnat, don't turn on IP forwarding, be confused for a bit.

>Fix:
	probably small.

>Release-Note:
>Audit-Trail:
>Unformatted: