myhome/.local/bin/iptables-restart

7 lines
145 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
sudo rc-service iptables stop
sudo iptables -F
sudo ~/.config/iptables
sudo /etc/init.d/iptables save
sudo rc-service iptables start