[Bug 234021] 12.0 gateway host with vnet jail running pf firewall & NAT has no internet access

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 14 21:55:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234021

Kristof Provost <kp at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp at freebsd.org

--- Comment #1 from Kristof Provost <kp at freebsd.org> ---
Why are you trying to do NAT in the jail when the host has the public IP?
If you want to NAT in the jail and bridge you'll need to assign the public IP
inside the jail, not on the host. Or even simpler, just assign vge0 to the
jail.

Or even simpler, do NAT on the host, because that's what your configuration
suggests right now. Your jail has a private IP address, and a single interface.
Your host has both WAN (vge0) and LAN (em0) interfaces.

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


More information about the freebsd-bugs mailing list