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
This commit is contained in:
parent
8fd860cfa1
commit
d1bb0919f0
@ -121,7 +121,7 @@ case ${firewall_type} in
|
|||||||
case ${natd_enable} in
|
case ${natd_enable} in
|
||||||
[Yy][Ee][Ss])
|
[Yy][Ee][Ss])
|
||||||
if [ -n "${natd_interface}" ]; then
|
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
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user