timmy/rq/scripts/iptables-namespaces
adobdin 91f179095c fix: rq/cmds -> rq/scripts
split output directories for cmds and scripts
2016-05-11 11:23:12 +00:00

7 lines
138 B
Plaintext

for i in $(ip netns)
do
echo "namespace:$i"
ip netns exec "$i" ${IPTABLES_STR}
ip netns exec "$i" ${IPTABLES_STR} -t nat
done