Sorry - but this still isn't working:
# Given this:
root@onion-VirtualBox:~# ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow 22/tcp
ufw allow 514
...
ufw allow Salt
ufw allow from 192.168.3.13
ufw allow from 192.168.3.0/24 to any port 443,7734 proto tcp
# And this output:
root@onion-VirtualBox:~# awk '/192\.168/{ sub(/ufw /,""); print}' /tmp/ufw-added | \
xargs -i echo ufw delete {}
ufw delete allow from 192.168.3.12
ufw delete allow from 192.168.3.13
ufw delete allow from 192.168.3.0/24 to any port 443,7734 proto tcp
Sorry - but this still isn't working: VirtualBox: ~# ufw show added
# Given this:
root@onion-
Added user rules (see 'ufw status' for running firewall):
ufw allow 22/tcp
ufw allow 514
...
ufw allow Salt
ufw allow from 192.168.3.13
ufw allow from 192.168.3.0/24 to any port 443,7734 proto tcp
# And this output: VirtualBox: ~# awk '/192\.168/{ sub(/ufw /,""); print}' /tmp/ufw-added | \
root@onion-
xargs -i echo ufw delete {}
ufw delete allow from 192.168.3.12
ufw delete allow from 192.168.3.13
ufw delete allow from 192.168.3.0/24 to any port 443,7734 proto tcp
# Shouldn't this work? VirtualBox: ~# awk '/192\.168/{ sub(/ufw /,""); print}' /tmp/ufw-added | xargs -i ufw delete {}
root@onion-