libvirt_cloud/roles/toxcore/overlay/Linux/usr/local/bin/firewall.bash

9 lines
216 B
Bash
Raw Normal View History

2024-01-15 12:44:06 +00:00
#!/bin/sh
# -*- mode: sh; tab-width: 8; encoding: utf-8-unix -*-
PREFIX=/usr/local
ROLE=toxcore
iptables-legacy -F;iptables-legacy -F -t nat;iptables-legacy -F -t mangle
iptables-legacy-restore </etc/firewall.conf