diff options
author | ume <ume@FreeBSD.org> | 2005-11-18 02:23:59 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-11-18 02:23:59 +0000 |
commit | 1f2553e461911eee3bd762d61effbef7d0b8cc45 (patch) | |
tree | 8723658f5a4d7d103abfdd6a634a07e4d53947fb /etc | |
parent | c677f67c679ebcb29192fe8d3110bfcbb26539cc (diff) | |
download | FreeBSD-src-1f2553e461911eee3bd762d61effbef7d0b8cc45.zip FreeBSD-src-1f2553e461911eee3bd762d61effbef7d0b8cc45.tar.gz |
don't match packets other than IPv4 against divert rule.
divert supports only IPv4.
Reported by: SAITOU Toshihide <toshi__at__ruby.ocn.ne.jp>
Discussed with: suz
MFC after: 1 day
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.firewall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall index 05a1a6a..a288b3c 100644 --- a/etc/rc.firewall +++ b/etc/rc.firewall @@ -121,7 +121,7 @@ case ${firewall_type} in case ${natd_enable} in [Yy][Ee][Ss]) if [ -n "${natd_interface}" ]; then - ${fwcmd} add 50 divert natd all from any to any via ${natd_interface} + ${fwcmd} add 50 divert natd ip4 from any to any via ${natd_interface} fi ;; esac |