You can make the rules persistent by installing the iptables-persistent
package. This gives you the commands iptables-save
, allowing you to save and restore to any file. However, the rules which become active on boot are stored in /etc/iptables/rules.v4
As for your DNS resolution issues...drop the firewall, do "nslookup www.google.com
" and post the output here. I want to check something...