ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #01779
Re: [Question #76627]: networkmanager overwriting iptables on boot-up
Question #76627 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76627
Status: Open => Answered
Steven Danna proposed the following answer:
Are you sure NetworkManager is actually overwriting the iptables?
Changes made to iptables are not persistent. That is, they are always
lost on boot. (See https://help.ubuntu.com/community/IptablesHowTo).
The best way to make iptables persistent is to use iptables-save and
iptables-restore as described in the aforementioned link or to use a
tool like ufw(uncomplicated firewall).
You said "I mis-typed one of the commands, though, and so now
networkmanager overwrites the iptables filter table to block anything
coming through eth0 (the one connecting to Internet)."
Could you also provide the following information:
1) What directions were you following.
2) The command you mistyped.
3) The command that makes your internet work again.
4) The output of this command at the terminal when your computer cannot connect to the internet:
sudo iptables -L
4) The output of that same command when your computer can connect to the
internet.
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.