Installation guide

A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
87
#
# Everything else coming into the Switch Blade, reject.
#
iptables -A INPUT -j REJECT
#
# Allow the following traffic to be forwarded from the Switch Blade.
#
iptables -A FORWARD -j ACCEPT -m state \
--state ESTABLISHED,RELATED
iptables -A FORWARD -j ACCEPT \
-mmark --mark ${MARK_DNAT}/${MARK_DNAT}
iptables -A FORWARD -j ACCEPT -i lo
#
# Everything else that could be forwarded, reject.
#
iptables -A FORWARD -j REJECT
;;
stop)
#
# Flush iptables
#
iptables -F; iptables -F -t nat; iptables -F -t mangle
iptables -X
;;
*)