Where does netfilter-persistent save the iptables rules?
up vote
7
down vote
favorite
Been looking where does netfilter-persistent store its rules but could not find any documentation about it on help.ubuntu.com.
Does anybody know where does netfilter-persistent in Ubuntu save its rules so it survives a reboot?
iptables
add a comment |
up vote
7
down vote
favorite
Been looking where does netfilter-persistent store its rules but could not find any documentation about it on help.ubuntu.com.
Does anybody know where does netfilter-persistent in Ubuntu save its rules so it survives a reboot?
iptables
add a comment |
up vote
7
down vote
favorite
up vote
7
down vote
favorite
Been looking where does netfilter-persistent store its rules but could not find any documentation about it on help.ubuntu.com.
Does anybody know where does netfilter-persistent in Ubuntu save its rules so it survives a reboot?
iptables
Been looking where does netfilter-persistent store its rules but could not find any documentation about it on help.ubuntu.com.
Does anybody know where does netfilter-persistent in Ubuntu save its rules so it survives a reboot?
iptables
iptables
edited Dec 3 at 22:21
Daywalker
1107
1107
asked May 4 '17 at 15:20
chrone
135214
135214
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
15
down vote
accepted
Found it only works if you install 'iptables-persistent' package as well.
sudo apt-get install iptables-persistent netfilter-persistent
It will be saved in /etc/iptables/rules.v[4-6]
If you only install netfilter-persistent, it wont save any configuration
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
15
down vote
accepted
Found it only works if you install 'iptables-persistent' package as well.
sudo apt-get install iptables-persistent netfilter-persistent
It will be saved in /etc/iptables/rules.v[4-6]
If you only install netfilter-persistent, it wont save any configuration
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
add a comment |
up vote
15
down vote
accepted
Found it only works if you install 'iptables-persistent' package as well.
sudo apt-get install iptables-persistent netfilter-persistent
It will be saved in /etc/iptables/rules.v[4-6]
If you only install netfilter-persistent, it wont save any configuration
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
add a comment |
up vote
15
down vote
accepted
up vote
15
down vote
accepted
Found it only works if you install 'iptables-persistent' package as well.
sudo apt-get install iptables-persistent netfilter-persistent
It will be saved in /etc/iptables/rules.v[4-6]
If you only install netfilter-persistent, it wont save any configuration
Found it only works if you install 'iptables-persistent' package as well.
sudo apt-get install iptables-persistent netfilter-persistent
It will be saved in /etc/iptables/rules.v[4-6]
If you only install netfilter-persistent, it wont save any configuration
answered May 12 '17 at 5:11
ignivs
26624
26624
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
add a comment |
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
oh, that's why! Thanks for pointing that out. :)
– chrone
May 12 '17 at 8:54
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f911863%2fwhere-does-netfilter-persistent-save-the-iptables-rules%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown