diff options
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r-- | etc/rc.firewall | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall index 132df9ca3abd..f5696530e8c0 100644 --- a/etc/rc.firewall +++ b/etc/rc.firewall @@ -129,6 +129,14 @@ case ${firewall_type} in fi ;; esac + case ${firewall_nat_enable} in + [Yy][Ee][Ss]) + if [ -n "${firewall_nat_interface}" ]; then + ${fwcmd} nat 123 config if ${firewall_nat_interface} log + ${fwcmd} add 50 nat 123 ip4 from any to any via ${firewall_nat_interface} + fi + ;; + esac esac ############ |