[Bug 254478] Panic when using ipfw and divert sockets

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jul 2021 12:15:20 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254478

Jack <xxjack12xx_at_gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xxjack12xx_at_gmail.com

--- Comment #8 from Jack <xxjack12xx_at_gmail.com> ---
I am getting an instant kernel panic when try a machine behind the nat tries to
access the internet.

I have the following firewall rules in ipfw bge0 being the public interface and
bge1 being the private with ip 10.0.0.1

ipfw nat 1 config if bge0 same_ports
ipfw add 100 nat 1 ip4 from any to me in via bge0
ipfw add 101 nat 1 ip4 from 10.0.0.0/24 to any out via bge0
ipfw add allow ip from any to any

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Received on Sun Jul 11 2021 - 12:15:20 UTC

Original text of this message