[Bug 257079] natd keeps crashing

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jul 2021 07:51:11 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257079

Jack <xxjack12xx_at_gmail.com> changed:

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

--- Comment #6 from Jack <xxjack12xx_at_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="YES"
natd_flags="-f /etc/natd.conf"
natd_interface="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

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Jul 18 2021 - 07:51:11 UTC

Original text of this message