Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 07:51:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257079] natd keeps crashing
Message-ID:  <bug-257079-227-apLNcZEOjo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257079-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257079-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257079

Jack <xxjack12xx@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|Closed                      |Open

--- Comment #6 from Jack <xxjack12xx@gmail.com> ---
My original setup was natd would crash within minutes after starting up and
doing nat in kernel without natd would cause a kernel panic/reboot.

With the latest update to FreeBSD 13.0-STABLE #0
stable/13-n246270-cd2e5ae71bb1: Wed Jul 14 23:39:18 PDT 2021, it has stopped
crashing.

My natd setup that kept having natd crash was
natd_enable=3D"YES"
natd_flags=3D"-f /etc/natd.conf"
natd_interface=3D"bge0"
in /etc/rc.conf

cat /etc/natd.conf
use_sockets yes
same_ports yes
dynamic

The setup that was causing a kernel panic/reboot was

ipfw list
00100 nat 1 ip4 from any to me in via bge0
00101 nat 1 ip4 from 10.0.0.0/24 to any out via bge0
65535 allow ip from any to any

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257079-227-apLNcZEOjo>