myhome/.local/bin/iptables-restart
Marcin Woźniak 64710f3369
Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2021-01-12 22:31:36 +01:00

7 lines
145 B
Bash
Executable File

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