Upload files to "/"
This commit is contained in:
1 parent
472785ecfd
commit
2800526719
5 files changed
+48
-8
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
clear
|
||||
|
||||
sudo nft -f /etc/nftables.conf
|
||||
sudo sysctl -w net.ipv4.ip_forward=0
|
||||
sudo sed -i 's/DEFAULT_FORWARD_POLICY="ACCEPT"/DEFAULT_FORWARD_POLICY="DROP"/g' /etc/default/ufw
|
||||
sudo ufw reload | sudo ufw status
|
||||
sudo nft list ruleset | sudo rm -rf /etc/nftables/port-forwarding.nft
|
||||
|
||||
Reference in new issue
Block a user