Load iptables rules with iptables-restore
Hi to all,
I don't understand how my current iptables rules are loaded on ubuntu 11.04. To set the rules I've followed the wiki's link (https:/
1. Why, in the shell, when do I execute the command iptables-restore I have to be root (command iptables-restore prec by sudo) while, at boot, this script can be executed with no-root privileges (or so I suppose...)?
2. If, inside my script iptablesload, I replace the path file /etc/iptables.rules with another path, for example $HOME/iptables.
Thanks to all.
lukinho82
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu iptables Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask lukinho82 for more information if necessary.