fork download
  1. iptables-save > firewall.rules
  2. ufw disable
  3. iptables -F
  4. iptables -X
  5. iptables -P INPUT ACCEPT
  6. iptables -P OUTPUT ACCEPT
  7. iptables -P FORWARD ACCEPT
Runtime error #stdin #stdout #stderr 0.03s 5268KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.sh: line 1: firewall.rules: Permission denied
prog.sh: line 2: ufw: command not found
prog.sh: line 3: iptables: command not found
prog.sh: line 4: iptables: command not found
prog.sh: line 5: iptables: command not found
prog.sh: line 6: iptables: command not found
prog.sh: line 7: iptables: command not found