snipt/salt/iptables/iptables-restore.sh

3 lines
71 B
Bash

#!/bin/sh
sudo sh -c '/sbin/iptables-restore < /etc/iptables.up.rules'