Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152735925
D19673.id55328.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D19673.id55328.diff
View Options
Index: libexec/rc/rc.d/ipfw
===================================================================
--- libexec/rc/rc.d/ipfw
+++ libexec/rc/rc.d/ipfw
@@ -34,6 +34,12 @@
if checkyesno firewall_nat_enable; then
required_modules="$required_modules ipfw_nat"
fi
+ if checkyesno firewall_nptv6_enable; then
+ required_modules="$required_modules ipfw_nptv6"
+ fi
+ if checkyesno firewall_nat64_enable; then
+ required_modules="$required_modules ipfw_nat64"
+ fi
}
ipfw_start()
Index: share/man/man5/rc.conf.5
===================================================================
--- share/man/man5/rc.conf.5
+++ share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 19, 2018
+.Dd March 21, 2019
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -573,9 +573,11 @@
.Va natd_enable .
Setting this to
.Dq Li YES
-enables kernel NAT.
+loads the
+.Xr ipfw 8
+NAT kernel module if
.Va firewall_enable
-must also be set to
+is also set to
.Dq Li YES .
.It Va firewall_nat_interface
.Pq Vt str
@@ -588,6 +590,26 @@
.It Va firewall_nat_flags
.Pq Vt str
Additional configuration parameters for kernel NAT should be placed here.
+.It Va firewall_nptv6_enable
+.Pq Vt bool
+Setting this to
+.Dq Li YES
+will automatically load the
+.Xr ipfw 8
+NPTv6 kernel module if
+.Va firewall_enable
+is also set to
+.Dq Li YES .
+.It Va firewall_nat64_enable
+.Pq Vt bool
+Setting this to
+.Dq Li YES
+will automatically load the
+.Xr ipfw 8
+NAT64 kernel module if
+.Va firewall_enable
+is also set to
+.Dq Li YES .
.It Va dummynet_enable
.Pq Vt bool
Setting this to
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 17, 7:21 PM (5 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31676169
Default Alt Text
D19673.id55328.diff (1 KB)
Attached To
Mode
D19673: Allow loading related kernel modules through ipfw rc script
Attached
Detach File
Event Timeline
Log In to Comment