Iptables-persistent installation

Asked by minnal

While Installing iptables-persistent in ubuntu machine, there are new windows are appearing and asks to save the changes to ipv3 and ipv6. I don't want those windows to appear and ask me to confirm. instead, for ipv4 it should automatically consider as "yes" and for ipv6 "no". How to achieve this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu iptables-persistent Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can add iptables rules in /etc/rc.local above the 'exit 0' line and they will run as root at boot.

Can you help with this problem?

Provide an answer of your own, or ask minnal for more information if necessary.

To post a message you must log in.