mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-09 06:20:05 +01:00
Finish MACLIST_TABLE implementation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2816 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a510a70124
commit
748375d12d
@ -2894,7 +2894,7 @@ setup_mac_lists() {
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
run_itables -t mangle -A PREROUTING $(match_source_hosts $hosts) -m state --state NEW \
|
run_iptables -t mangle -A PREROUTING -i $interface $(match_source_hosts $hosts) -m state --state NEW \
|
||||||
$policy -j $(mac_chain $interface)
|
$policy -j $(mac_chain $interface)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user