We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iptables
Rules generated by this script are not persistent. Script and README.md says nothing about this.
Either mention it in the README.md, and point to options for persistence. Like iptables-persistent. Or handle it in the script.
iptables-persistent
I managed to make it persistent like so:
sudo iptables-save > ~/rules.v4
sudo /bin/cp -rf ~/rules.v4 /etc/iptables/rules.v4
The text was updated successfully, but these errors were encountered:
With Ubuntu 22.04 LTS, to get this to work, I had to:
Install IP tables sudo apt-get install iptables-persistent
sudo apt-get install iptables-persistent
Save IP tables sudo iptables-save | sudo tee /etc/iptables/rules.v4
sudo iptables-save | sudo tee /etc/iptables/rules.v4
Reboot and test sudo reboot
sudo reboot
Sorry, something went wrong.
No branches or pull requests
Rules generated by this script are not persistent. Script and README.md says nothing about this.
Either mention it in the README.md, and point to options for persistence. Like
iptables-persistent
.Or handle it in the script.
I managed to make it persistent like so:
Make iptables persistent
Export current IP tables to a file
sudo iptables-save > ~/rules.v4
Copy file to the location
iptables-persistent
will use on rebootsudo /bin/cp -rf ~/rules.v4 /etc/iptables/rules.v4
The text was updated successfully, but these errors were encountered: