network/salt/upstream/iptables
2016-11-14 00:40:55 +01:00

7 lines
130 B
Bash

#!/bin/sh
if [ "$IFACE" = "{{ upstream_iface }}" ]; then
iptables -A INPUT -i "$IFACE" -j DROP
iptables -P INPUT ACCEPT
fi